fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15319] booking: fix delete link


From: sigurdne
Subject: [Fmsystem-commits] [15319] booking: fix delete link
Date: Thu, 23 Jun 2016 07:36:56 +0000 (UTC)

Revision: 15319
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15319
Author:   sigurdne
Date:     2016-06-23 07:36:56 +0000 (Thu, 23 Jun 2016)
Log Message:
-----------
booking: fix delete link

Modified Paths:
--------------
    trunk/booking/templates/base/resource.xsl
    trunk/booking/templates/base/season.xsl

Modified: trunk/booking/templates/base/resource.xsl
===================================================================
--- trunk/booking/templates/base/resource.xsl   2016-06-23 07:30:18 UTC (rev 
15318)
+++ trunk/booking/templates/base/resource.xsl   2016-06-23 07:36:56 UTC (rev 
15319)
@@ -123,12 +123,12 @@
                var colDefsDocuments = [
                {key: 'name', label: lang['Name'], formatter: genericLink},
                {key: 'category', label: lang['Category']},
-               {key: 'actions', label: lang['Actions'], formatter: 
genericLink(lang['Edit'], lang['Delete'])}
+               {key: 'actions', label: lang['Actions'], formatter: 
genericLink({name: 'edit', label:lang['Edit']}, {name: 'delete', 
label:lang['Delete']})}
                ];
                var colDefsPermissions = [
                {key: 'subject_name', label: lang['Account']},
                {key: 'role', label: lang['Role']},
-               {key: 'actions', label: lang['Actions'], formatter: 
genericLink(lang['Edit'], lang['Delete'])}
+               {key: 'actions', label: lang['Actions'], formatter: 
genericLink({name: 'edit', label:lang['Edit']}, {name: 'delete', 
label:lang['Delete']})}
                ];
 
                
createTable('documents_container',documentsURL,colDefsDocuments);

Modified: trunk/booking/templates/base/season.xsl
===================================================================
--- trunk/booking/templates/base/season.xsl     2016-06-23 07:30:18 UTC (rev 
15318)
+++ trunk/booking/templates/base/season.xsl     2016-06-23 07:36:56 UTC (rev 
15319)
@@ -93,7 +93,7 @@
                var colDefsPermissions = [
                {key: 'subject_name', label: lang['Account']},
                {key: 'role', label: lang['Role']},
-               {key: 'actions', label: lang['Actions'], formatter: 
genericLink(lang['Edit'], lang['Delete'])}
+               {key: 'actions', label: lang['Actions'], formatter: 
genericLink({name: 'edit', label:lang['Edit']}, {name: 'delete', 
label:lang['Delete']})}
                ];
                createTable('resources_container', resourcesURL, 
colDefsRespurces);
                createTable('permissions_container', permissionsURL, 
colDefsPermissions);




reply via email to

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