[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14153] mandatory location on checklist
From: |
Erik Holm-Larsen |
Subject: |
[Fmsystem-commits] [14153] mandatory location on checklist |
Date: |
Mon, 12 Oct 2015 07:05:24 +0000 |
Revision: 14153
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14153
Author: erikhl
Date: 2015-10-12 07:05:22 +0000 (Mon, 12 Oct 2015)
Log Message:
-----------
mandatory location on checklist
Modified Paths:
--------------
trunk/controller/templates/base/case/add_case.xsl
trunk/controller/templates/base/check_list/fragments/select_buildings_on_property.xsl
Modified: trunk/controller/templates/base/case/add_case.xsl
===================================================================
--- trunk/controller/templates/base/case/add_case.xsl 2015-10-12 04:47:47 UTC
(rev 14152)
+++ trunk/controller/templates/base/case/add_case.xsl 2015-10-12 07:05:22 UTC
(rev 14153)
@@ -6,7 +6,7 @@
<xsl:call-template name="check_list_top_section">
</xsl:call-template>
-
+
<xsl:choose>
<xsl:when test="buildings_on_property/child::node()">
<div id="choose-building-wrp">
Modified:
trunk/controller/templates/base/check_list/fragments/select_buildings_on_property.xsl
===================================================================
---
trunk/controller/templates/base/check_list/fragments/select_buildings_on_property.xsl
2015-10-12 04:47:47 UTC (rev 14152)
+++
trunk/controller/templates/base/check_list/fragments/select_buildings_on_property.xsl
2015-10-12 07:05:22 UTC (rev 14153)
@@ -1,14 +1,19 @@
<!-- $Id: view_calendar_month.xsl 9200 2012-04-21 20:05:34Z vator $ -->
<xsl:template name="select_buildings_on_property">
- <span style="display: block;font-size: 16px;margin-bottom: 8px;">Spesifiser
lokalisering du vil registrere saken pa</span>
+ <span style="display: block;font-size: 16px;margin-bottom: 8px;">
+ Spesifiser lokalisering du vil registrere saken på.
+ <xsl:if test="mandatory_location = 1">
+ Lokalisering <u>må</u> velges før du registrerer ny sak.
+ </xsl:if>
+ </span>
<select id="choose-building-on-property">
<xsl:choose>
<xsl:when test="cases_view = 'open_cases' or cases_view =
'closed_cases'">
<xsl:attribute name="class">view-cases</xsl:attribute>
</xsl:when>
<xsl:otherwise>
- <xsl:attribute name="class">add-case</xsl:attribute>
+ <xsl:attribute name="class">add-case required</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14153] mandatory location on checklist,
Erik Holm-Larsen <=