fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17354] add missing buttons


From: sigurdne
Subject: [Fmsystem-commits] [17354] add missing buttons
Date: Thu, 23 Nov 2017 06:49:15 -0500 (EST)

Revision: 17354
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17354
Author:   sigurdne
Date:     2017-11-23 06:49:15 -0500 (Thu, 23 Nov 2017)
Log Message:
-----------
add missing buttons

Modified Paths:
--------------
    trunk/bookingfrontend/setup/phpgw_no.lang
    trunk/bookingfrontend/templates/base/event_info.xsl

Modified: trunk/bookingfrontend/setup/phpgw_no.lang
===================================================================
--- trunk/bookingfrontend/setup/phpgw_no.lang   2017-11-23 10:55:27 UTC (rev 
17353)
+++ trunk/bookingfrontend/setup/phpgw_no.lang   2017-11-23 11:49:15 UTC (rev 
17354)
@@ -397,3 +397,4 @@
 please enter a building name   bookingfrontend no      Angi et bygningsnavn
 please select an activity      bookingfrontend no      Velg en aktivitet
 select date    bookingfrontend no      Velg dato
+cancel event   bookingfrontend no      Avbestill
\ No newline at end of file

Modified: trunk/bookingfrontend/templates/base/event_info.xsl
===================================================================
--- trunk/bookingfrontend/templates/base/event_info.xsl 2017-11-23 10:55:27 UTC 
(rev 17353)
+++ trunk/bookingfrontend/templates/base/event_info.xsl 2017-11-23 11:49:15 UTC 
(rev 17354)
@@ -42,4 +42,14 @@
                        </dd>
                </xsl:if>
        </dl>
+       <xsl:if test="event/edit_link">
+               <div class="actions">
+                       <button onclick="location.href='{event/edit_link}'">
+                               <xsl:value-of select="php:function('lang', 
'Edit event')"/>
+                       </button>
+                       <button onclick="location.href='{event/cancel_link}'">
+                               <xsl:value-of select="php:function('lang', 
'Cancel event')"/>
+                       </button>
+               </div>
+       </xsl:if>
 </xsl:template>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]