[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10297]
From: |
Torstein |
Subject: |
[Fmsystem-commits] [10297] |
Date: |
Tue, 23 Oct 2012 06:38:42 +0000 |
Revision: 10297
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10297
Author: vator
Date: 2012-10-23 06:38:39 +0000 (Tue, 23 Oct 2012)
Log Message:
-----------
Modified Paths:
--------------
trunk/logistic/templates/base/activity/activity_item.xsl
Modified: trunk/logistic/templates/base/activity/activity_item.xsl
===================================================================
--- trunk/logistic/templates/base/activity/activity_item.xsl 2012-10-22
13:18:44 UTC (rev 10296)
+++ trunk/logistic/templates/base/activity/activity_item.xsl 2012-10-23
06:38:39 UTC (rev 10297)
@@ -34,7 +34,7 @@
<xsl:if test="parent_activity/id >
0">
<dt>
<xsl:if test="editable">
- <div
style="margin-bottom: 1em;" class="select-box">
+ <div
style="margin-bottom: 1em;width: 88%;" class="select-box">
<label>Velg en
annen hovedaktivitet</label>
<select
id="select_activity" name="parent_activity_id" class="selectLocation">
<option>Velg aktivitet</option>
@@ -117,11 +117,16 @@
<dd>
<xsl:choose>
<xsl:when
test="editable">
+ <xsl:if
test="activity/error_msg_array/end_date != ''">
+
<xsl:variable name="error_msg"><xsl:value-of
select="activity/error_msg_array/end_date" /></xsl:variable>
+ <div
class='input_error_msg'><xsl:value-of select="php:function('lang', $error_msg)"
/></div>
+ </xsl:if>
<input
class="date" id="end_date" name="end_date" type="text">
<xsl:if
test="activity/end_date != ''">
<xsl:attribute
name="value"><xsl:value-of select="php:function('date', $date_format,
number(activity/end_date))"/></xsl:attribute>
</xsl:if>
- </input>
+ </input>
+ <span class="help_text
line">Angi startdato for aktiviteten</span>
</xsl:when>
<xsl:otherwise>
<span><xsl:value-of
select="php:function('date', $date_format, number(activity/end_date))"/></span>
@@ -134,6 +139,10 @@
<dd>
<xsl:choose>
<xsl:when
test="editable">
+ <xsl:if
test="activity/error_msg_array/responsible_user_id != ''">
+
<xsl:variable name="error_msg"><xsl:value-of
select="activity/error_msg_array/responsible_user_id" /></xsl:variable>
+ <div
class='input_error_msg'><xsl:value-of select="php:function('lang', $error_msg)"
/></div>
+ </xsl:if>
<select
name="responsible_user_id">
<xsl:for-each
select="responsible_users">
<xsl:variable
name="full_name">
@@ -154,6 +163,7 @@
</xsl:choose>
</xsl:for-each>
</select>
+ <span class="help_text line">Angi
startdato for aktiviteten</span>
</xsl:when>
<xsl:otherwise>
<span><xsl:value-of
select="activity/responsible_user_name"/></span>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10297],
Torstein <=