fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14147] fixing forms


From: Saul
Subject: [Fmsystem-commits] [14147] fixing forms
Date: Thu, 08 Oct 2015 00:35:54 +0000

Revision: 14147
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14147
Author:   psaul
Date:     2015-10-08 00:35:53 +0000 (Thu, 08 Oct 2015)
Log Message:
-----------
fixing forms

Modified Paths:
--------------
    branches/dev-syncromind/booking/templates/base/organization.xsl

Modified: branches/dev-syncromind/booking/templates/base/organization.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/organization.xsl     
2015-10-08 00:35:46 UTC (rev 14146)
+++ branches/dev-syncromind/booking/templates/base/organization.xsl     
2015-10-08 00:35:53 UTC (rev 14147)
@@ -1,89 +1,55 @@
 <xsl:template match="data" xmlns:php="http://php.net/xsl";>
-       <!--xsl:call-template name="yui_booking_i18n"/-->
-    <!--div id="content"-->
-        <!--ul class="pathway">
-            <li>
-                <a>
-                    <xsl:attribute name="href"><xsl:value-of 
select="organization/organizations_link"/></xsl:attribute>
-                    <xsl:value-of select="php:function('lang', 
'Organization')" />
-                </a>
-            </li>
-            <li>
-                    <xsl:value-of select="organization/name"/>
-            </li>
-        </ul-->
     <xsl:variable name="edit_action">
-            <xsl:value-of select="organization/edit_link"/>
+        <xsl:value-of select="organization/edit_link"/>
     </xsl:variable>
     <form class= "pure-form pure-form-aligned" action="{$edit_action}" 
method="post" id="form" name="form">
         <input type="hidden" name="tab" value=""/>
         <div id="tab-content">
             <xsl:value-of disable-output-escaping="yes" 
select="organization/tabs"/>
-            <div id="organization">
+            <div id="organization" class="booking-container">
                 <fieldset>
-                    <h1>
-                        <xsl:value-of select="organization/name"/>
-                    </h1>
+                    <h1><xsl:value-of select="organization/name"/></h1>
                     <div class="pure-control-group">
-                        <label>
-                            <h4><xsl:value-of select="php:function('lang', 
'Organization shortname')" /></h4>
-                        </label>
+                        <label><xsl:value-of select="php:function('lang', 
'Organization shortname')" /></label>
                         <span><xsl:value-of select="organization/shortname" 
/></span>
                     </div>
                     <div class="pure-control-group">
-                        <label>
-                            <h4><xsl:value-of select="php:function('lang', 
'Organization number')" /></h4>
-                        </label>
+                        <label><xsl:value-of select="php:function('lang', 
'Organization number')" /></label>
                         <span><xsl:value-of 
select="organization/organization_number" /></span>
                     </div>
                     <div class="pure-control-group">
-                        <label>
-                            <h4><xsl:value-of select="php:function('lang', 
'Customer number')" /></h4>
-                        </label>
+                        <label><xsl:value-of select="php:function('lang', 
'Customer number')" /></label>
                         <span><xsl:value-of 
select="organization/customer_number" /></span>
                     </div>
                     <div class="pure-control-group">
-                        <label>
-                            <h4><xsl:value-of select="php:function('lang', 
'Activity')" /></h4>
-                        </label>
+                        <label><xsl:value-of select="php:function('lang', 
'Activity')" /></label>
                         <span><xsl:value-of 
select="organization/activity_name" /></span>
                     </div>
                     <div class="pure-control-group">
-                        <label>
-                            <h4><xsl:value-of select="php:function('lang', 
'Homepage')" /></h4>
-                        </label>
+                        <label><xsl:value-of select="php:function('lang', 
'Homepage')" /></label>
                         <xsl:if test="organization/homepage and 
normalize-space(organization/homepage)">
                             <a target="blank" 
href="{organization/homepage}"><xsl:value-of select="organization/homepage" 
/></a>
                         </xsl:if>
                     </div>
                     <div class="pure-control-group">
-                        <label>
-                            <h4><xsl:value-of select="php:function('lang', 
'Email')" /></h4>
-                        </label>
+                        <label><xsl:value-of select="php:function('lang', 
'Email')" /></label>
                         <a href="mailto:{organization/email}";><xsl:value-of 
select="organization/email"/></a>
                     </div>
                     <div class="pure-control-group">
-                        <label>
-                            <h4><xsl:value-of select="php:function('lang', 
'Phone')" /></h4>
-                        </label>
+                        <label><xsl:value-of select="php:function('lang', 
'Phone')" /></label>
                         <span><xsl:value-of 
select="organization/phone"/></span>
                     </div>
                     <div class="pure-control-group">
-                        <label style="vertical-align:top;">
-                            <h4><xsl:value-of select="php:function('lang', 
'Description')" /></h4>
-                        </label>
+                        <label style="vertical-align:top;"><xsl:value-of 
select="php:function('lang', 'Description')" /></label>
                         <div style="display:inline-block;"><xsl:value-of 
select="organization/description" disable-output-escaping="yes"/></div>
                     </div>
                     <xsl:if test="count(organization/contacts/*) &gt; 0">
                         <div class="pure-control-group">
-                            <label style="vertical-align:top;">
-                                <h4><xsl:value-of select="php:function('lang', 
'Admins')" /></h4>
-                            </label>
+                            <label style="vertical-align:top;"><xsl:value-of 
select="php:function('lang', 'Admins')" /></label>
                             <ul 
style="list-style:none;display:inline-block;padding:0;margin:0;">
                                 <xsl:if test="organization/contacts[1]">
                                     <li><xsl:value-of 
select="organization/contacts[1]/name"/></li>
                                 </xsl:if>
-
                                 <xsl:if test="organization/contacts[2]">
                                     <li><xsl:value-of 
select="organization/contacts[2]/name"/></li>
                                 </xsl:if>
@@ -94,37 +60,28 @@
                         <xsl:copy-of 
select="phpgw:booking_customer_identifier_show(organization)"/>
                     </div>
                     <div class="pure-control-group">
-                        <label>
-                            <h4><xsl:value-of select="php:function('lang', 
'Street')" /></h4>
-                        </label>
+                        <label><xsl:value-of select="php:function('lang', 
'Street')" /></label>
                         <span><xsl:value-of 
select="organization/street"/></span>
                     </div>
                     <div class="pure-control-group">
-                        <label>
-                            <h4><xsl:value-of select="php:function('lang', 
'Zip code')" /></h4>
-                        </label>
+                        <label><xsl:value-of select="php:function('lang', 'Zip 
code')" /></label>
                         <span><xsl:value-of 
select="organization/zip_code"/></span>
                     </div>
                     <div class="pure-control-group">
-                        <label>
-                            <h4><xsl:value-of select="php:function('lang', 
'Postal City')" /></h4>
-                        </label>
+                        <label><xsl:value-of select="php:function('lang', 
'Postal City')" /></label>
                         <span><xsl:value-of select="organization/city"/></span>
                     </div>
                     <div class="pure-control-group">
-                        <label>
-                            <h4><xsl:value-of select="php:function('lang', 
'District')" /></h4>
-                        </label>
+                        <label><xsl:value-of select="php:function('lang', 
'District')" /></label>
                         <span><xsl:value-of 
select="organization/district"/></span>
                     </div>
                 </fieldset>
             </div>
         </div>
-        <div class="form-buttons">
-            <button class="pure-button pure-button-primary" 
onclick="window.location.href='{organization/edit_link}'">
-                <xsl:value-of select="php:function('lang', 'Edit')" />
-            </button>
-        </div>
     </form>
-    <!--/div-->
+    <div class="form-buttons">
+        <button class="pure-button pure-button-primary" 
onclick="window.location.href='{organization/edit_link}'">
+            <xsl:value-of select="php:function('lang', 'Edit')" />
+        </button>
+    </div>
 </xsl:template>




reply via email to

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