fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16864] more on helpdesk


From: sigurdne
Subject: [Fmsystem-commits] [16864] more on helpdesk
Date: Tue, 13 Jun 2017 05:41:38 -0400 (EDT)

Revision: 16864
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16864
Author:   sigurdne
Date:     2017-06-13 05:41:38 -0400 (Tue, 13 Jun 2017)
Log Message:
-----------
more on helpdesk

Modified Paths:
--------------
    trunk/helpdesk/setup/phpgw_no.lang
    trunk/helpdesk/templates/base/tts.xsl

Modified: trunk/helpdesk/setup/phpgw_no.lang
===================================================================
--- trunk/helpdesk/setup/phpgw_no.lang  2017-06-12 19:14:54 UTC (rev 16863)
+++ trunk/helpdesk/setup/phpgw_no.lang  2017-06-13 09:41:38 UTC (rev 16864)
@@ -202,4 +202,7 @@
 generic        helpdesk        no      Generelt
 reverse        helpdesk        no      Revers tildeling
 owned by       helpdesk        no      Eies av
-update message helpdesk        no      Oppdateringsmelding
\ No newline at end of file
+update message helpdesk        no      Oppdateringsmelding
+list %1        helpdesk        no      List %1
+public helpdesk        no      synlig for alle
+open edit in new window        helpdesk        no      Editer i nytt vindu
\ No newline at end of file

Modified: trunk/helpdesk/templates/base/tts.xsl
===================================================================
--- trunk/helpdesk/templates/base/tts.xsl       2017-06-12 19:14:54 UTC (rev 
16863)
+++ trunk/helpdesk/templates/base/tts.xsl       2017-06-13 09:41:38 UTC (rev 
16864)
@@ -20,6 +20,13 @@
                <xsl:value-of select="lookup_functions"/>
                var my_groups = <xsl:value-of select="my_groups"/>;
                var lang = <xsl:value-of select="php:function('js_lang', 
'Please select a person or a group to handle the ticket !')"/>;
+
+               function response_lookup()
+               {
+                       var oArgs = 
{menuaction:'helpdesk.uilookup.response_template',type:'response_template'};
+                       var strURL = phpGWLink('index.php', oArgs);
+               TINY.box.show({iframe:strURL, 
boxid:"frameless",width:750,height:450,fixed:false,maskid:"darkmask",maskopacity:40,
 mask:true, animate:true, close: true});
+               }
        </script>
 
        <dl>
@@ -182,11 +189,25 @@
                                                </input>
                                        </div>
                                        <div class="pure-control-group">
-                                               <label>
-                                                       <xsl:value-of 
select="php:function('lang', 'Details')"/>
-                                               </label>
+                                               <xsl:choose>
+                                                       <xsl:when test="simple 
!='1'">
+                                                               <label>
+                                                                       <a 
href="javascript:response_lookup()">
+                                                                               
<xsl:attribute name="title">
+                                                                               
        <xsl:value-of select="php:function('lang', 'standard text')"/>
+                                                                               
</xsl:attribute>
+                                                                               
<xsl:value-of select="php:function('lang', 'standard text')"/>
+                                                                       </a>
+                                                               </label>
+                                                       </xsl:when>
+                                                       <xsl:otherwise>
+                                                               <label>
+                                                                       
<xsl:value-of select="php:function('lang', 'new note')"/>
+                                                               </label>
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
 
-                                               <textarea cols="60" rows="10" 
name="values[details]"  class="pure-input-1-2" >
+                                               <textarea cols="60" rows="10" 
name="values[details]" id="new_note" class="pure-input-1-2" >
                                                        <xsl:attribute 
name="title">
                                                                <xsl:value-of 
select="php:function('lang', 'Enter the details of this ticket')"/>
                                                        </xsl:attribute>




reply via email to

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