Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
erp5
Commits
dce35c7c
Commit
dce35c7c
authored
Apr 08, 2016
by
Boris Kocherov
Committed by
Boris Kocherov
Nov 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_xhtml_style: improve icon design
parent
b1de4562
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
7 deletions
+18
-7
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.zpt
...Item/portal_skins/erp5_xhtml_style/context_box_render.zpt
+18
-7
No files found.
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.zpt
View file @
dce35c7c
...
...
@@ -285,17 +285,24 @@
<a tal:condition="fast_input_actions" class="fast_input btn btn-default" title="Fast Input"
tal:attributes="href python: portal.ERP5Site_renderCustomLink(fast_input_actions[0]['url'], http_parameter_list, dialog_category='object_fast_input')"
i18n:attributes="title" i18n:domain="ui">
<
span class="image"></span
>
<
i class="fa fa-rocket fa-lg"></i
>
<span class="description" i18n:translate="" i18n:domain="ui">Fast Input</span>
</a>
</li>
<li class="btn-group" tal:condition="button_actions">
<tal:block tal:repeat="button_action button_actions">
<a class="btn btn-default" tal:attributes="href python: '%s%s%s' % (button_action['url'], '?' in button_action['url'] and '&' or '?', http_parameters)">
<a class="btn btn-default" tal:attributes="href python: '%s%s%s' % (button_action['url'], '?' in button_action['url'] and '&' or '?', http_parameters)"
tal:define="img python: button_action['icon'].startswith('http')">
<i i18n:attributes="title" i18n:domain="ui"
tal:condition="not:img"
tal:attributes="class button_action/icon;
title button_action/name;
alt button_action/name" ></i>
<img i18n:attributes="title" i18n:domain="ui"
tal:condition="img"
tal:attributes="src button_action/icon;
title button_action/name;
alt button_action/name" >
</a>
</tal:block>
</li>
...
...
@@ -343,12 +350,16 @@
module_view_list python:[i for i in object_view_list if i['id']=='module_view']"
tal:condition="module_view_list">
<tal:block tal:repeat="action module_view_list">
<button
class="btn btn-default"
tal:content="action/name"
<button class="btn btn-default"
name="Base_doAction:method"
tal:attributes="value string:object ${action/url}"
i18n:translate="" i18n:domain="ui" />
tal:define="icon action/icon"
tal:attributes="value string:workflow ${action/url};
title action/name"
i18n:attributes="title" i18n:domain="ui">
<i tal:attributes="class icon" tal:condition="icon"></i>
<span tal:content="action/name" tal:condition="not:icon"
i18n:translate="" i18n:domain="ui"/>
</button>
</tal:block>
</li>
<li class="btn-group pull-right">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment