[eGroupWare-svn] r55846 - in /trunk/addressbook/templates: default/edit.xet mobile/edit.xet mobile/view.xet
[email protected] Tue, 26 Apr 2016 13:31:52 -0000
Newsgroups
gmane.comp.web.egroupware.cvs
Message-ID
<[email protected] >
Author: hnategh
Date: Tue Apr 26 15:31:52 2016
New Revision: 55846
URL: http://svn.stylite.de/viewvc/egroupware?rev=55846&view=rev
Log:
Addressbook edit dialog:
- Fix category id in mobile template
- Implement categories in mobile view template
- Remove not used buttons
Modified:
trunk/addressbook/templates/default/edit.xet
trunk/addressbook/templates/mobile/edit.xet
trunk/addressbook/templates/mobile/view.xet
Modified: trunk/addressbook/templates/default/edit.xet
URL: http://svn.stylite.de/viewvc/egroupware/trunk/addressbook/templates/default/edit.xet?rev=55846&r1=55845&r2=55846&view=diff
==============================================================================
--- trunk/addressbook/templates/default/edit.xet (original)
+++ trunk/addressbook/templates/default/edit.xet Tue Apr 26 15:31:52 2016
@@ -174,7 +174,7 @@
<rows>
<row valign="top">
<tree-cat id="cat_id_tree" options="13,,width:99%"/>
- <taglist-cat id="cat_id" tags="true" empty_label="Category" width="100%" height="195"/>
+ <taglist-cat id="cat_id" empty_label="Category" width="100%" height="195"/>
<description/>
<grid width="100%">
<columns>
@@ -449,9 +449,6 @@
</row>
<row disabled="@hidebuttons" class="dialogFooterToolbar">
<hbox span="all" width="100%">
- <button label="Edit" id="button[edit]" class="button_edit" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit&contact_id=$cont[id]'),'_blank','dependent=yes,width=900,height=560,scrollbars=yes,status=yes'); return false;" image="edit" background_image="1"/>
- <button label="Copy" id="button[copy]" class="button_copy" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit&contact_id=$cont[id]&makecp=1'),'_blank','dependent=yes,width=900,height=560,scrollbars=yes,status=yes'); return false;" image="copy" background_image="1"/>
- <button statustext="download this contact as vCard file" label="vCard" id="button[vcard]" image="vcard" background_image="1"/>
<button accesskey="s" label="Save" id="button[save]" class="button_save" image="save" background_image="1"/>
<button label="Apply" id="button[apply]" class="button_apply" image="apply" background_image="1"/>
<button label="Cancel" id="button[cancel]" class="button_cancel" onclick="if($cont[view] || false) return true; window.close(); return false;" image="cancel" background_image="1"/>
Modified: trunk/addressbook/templates/mobile/edit.xet
URL: http://svn.stylite.de/viewvc/egroupware/trunk/addressbook/templates/mobile/edit.xet?rev=55846&r1=55845&r2=55846&view=diff
==============================================================================
--- trunk/addressbook/templates/mobile/edit.xet (original)
+++ trunk/addressbook/templates/mobile/edit.xet Tue Apr 26 15:31:52 2016
@@ -138,7 +138,7 @@
<rows>
<row>
<description for="category" value="Categories"/>
- <taglist-cat id="category" class="et2_fullWidth" empty_label="Select categories"/>
+ <taglist-cat id="cat_id" class="et2_fullWidth" empty_label="Select categories"/>
</row>
<row>
<description value="Notes"/>
@@ -362,12 +362,7 @@
<rows>
<row disabled="@hidebuttons" class="dialogHeadbar" >
<hbox span="all" width="100%">
- <button id="button[edit]" class="button_edit" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit&contact_id=$cont[id]'),'_blank','dependent=yes,width=900,height=560,scrollbars=yes,status=yes'); return false;" image="edit" background_image="1"/>
- <button id="button[copy]" class="button_copy" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit&contact_id=$cont[id]&makecp=1'),'_blank','dependent=yes,width=900,height=560,scrollbars=yes,status=yes'); return false;" image="copy" background_image="1"/>
- <button statustext="download this contact as vCard file" id="button[vcard]" image="vcard" background_image="1"/>
- <button accesskey="s" id="button[save]" class="button_save" image="save" background_image="1"/>
<button id="button[apply]" class="button_apply" image="apply" background_image="1"/>
- <button id="button[cancel]" class="button_cancel" onclick="if($cont[view] || false) return true; window.close(); return false;" image="cancel" background_image="1"/>
<button id="button[delete]" class="button_delete" onclick="et2_dialog.confirm(widget,'Do you really want to delete this contact?','Delete')" tabindex="25" image="delete" background_image="1"/>
</hbox>
</row>
Modified: trunk/addressbook/templates/mobile/view.xet
URL: http://svn.stylite.de/viewvc/egroupware/trunk/addressbook/templates/mobile/view.xet?rev=55846&r1=55845&r2=55846&view=diff
==============================================================================
--- trunk/addressbook/templates/mobile/view.xet (original)
+++ trunk/addressbook/templates/mobile/view.xet Tue Apr 26 15:31:52 2016
@@ -173,6 +173,12 @@
<description value="Notes"/>
<textbox multiline="true" id="note" rows="10" resize_ratio="0" class="et2_fullWidth" height="200"/>
</row>
+ <row>
+ <description value="Categories"/>
+ <menulist>
+ <menupopup type="select-cat" id="cat_id"/>
+ </menulist>
+ </row>
</rows>
</grid>
</template>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z