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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Iliya Manolov
erp5
Commits
711b4e9b
Commit
711b4e9b
authored
10 years ago
by
Sven Franck
Committed by
Sebastien Robin
10 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: Allow breadcrumbs to go temporarily go "Home"
parent
9584a80f
master
allow_login_change
allow_login_change_differentiate_id_and_login
allow_login_change_wip
arnau
arnau-kns
arnau-kns-without-property-mapping
authentication_policy_fixes
auto_extend_select_list
autoflake
backup_erp5_workflow
bk_erp5ish_actions_tool
bk_sqlcatalog
bt_owner
catalog_fulltext
catalog_fulltext_old
cedriclen-eos
cherry-pick-4a8e045d
cherry-pick-bca64206
clean_up_upgrader
compact_title_no_reference
datetimefield
douglas_forum
dream_distributor
eos-dev
erp5-component
erp5-data-notebook
erp5-forum
erp5-preference
erp5-release
erp5-slapos-upgrade
erp5-vifib
erp5-vifib-cleanup
erp5_free_subscription
erp5_workflow
floatArrayTest
for_testrunner_1
for_testrunner_2
formbox
gabriel-fix-rounding-in-accounting-generation
gabriel-fix-rounding-in-accounting-generation2
gadget-json-value
import_fixes
import_fixes_complete
improve_default_caching_policy_manager
isDeletable
item_tracking_graph_editor
jerome-test
jerome_graph_editor_renderjs
jerome_user_preference_time_zone
jm/form-action-guard
joblib-activity
jupyter_egg_tests
jupyter_import_dot_fix
jupyter_import_dot_quickfix
jupyter_kernel_fixes
jupyter_reference_warning
jupyter_restricted
kns
master_calendar_wip_patches
master_calendar_wip_patches_extend_security
master_no_guard_on_workflow_transition
master_no_guard_on_workflow_transition_plus_calendar_wip_patchs
nexedi-erp5-jp
no_reindex_data_stream
officejs
portal_callables
portal_solver_process_security_configuration
reindex_calendar_after_change_calendar_exception
removed_portal_skin_redundancy
romain-fulltext
shop-box
shop-box-rebased
sms_more_than_140_characters
strict_catalog
testnode_software_link
timezones
tristan
tristan-merge
view-aggregated-amounts
vivekpab_erp5webrenderjs_layoutconfig
vivekpab_jabberclient
vivekpab_renderjs_interfaces
wenjie
wenjie_branch
xiaowu_newui
erp5.util-0.4.46
erp5.util-0.4.44
erp5.util-0.4.43
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_breadcrumb_js.xml
...ateItem/web_page_module/rjs_gadget_erp5_breadcrumb_js.xml
+7
-3
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
...i/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
+4
-3
bt5/erp5_web_renderjs_ui/bt/revision
bt5/erp5_web_renderjs_ui/bt/revision
+1
-1
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_breadcrumb_js.xml
View file @
711b4e9b
...
...
@@ -154,11 +154,15 @@
return gadget.whoWantToDisplayThis(uri.segment(2))\n
.push(function (parent_href) {\n
link_element = document.createElement("a");\n
// XXX Romain: please allow to "go home" via breadcrumb\n
if (parent_href === "#erp5_gadget.jio_key=undefined") {\n
parent_href = "#";\n
}\n
link_element.textContent = parent_link.name || "Home";\n
link_element.href = parent_href;\n
link_element.setAttribute("class", "responsive ui-btn ui-icon-carat-u ui-btn-icon-left");\n
link_element.setAttribute("data-role", "button");\n
link_element.setAttribute("role", "button");\n
link_element.textContent = parent_link.name;\n
parent_element.appendChild(link_element);\n
});\n
}\n
...
...
@@ -299,7 +303,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.46052.59584.21316
</string>
</value>
<value>
<string>
93
7.8179.20788.60245
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -317,7 +321,7 @@
</tuple>
<state>
<tuple>
<float>
140
7318113.56
</float>
<float>
140
8976172.25
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
View file @
711b4e9b
...
...
@@ -177,7 +177,8 @@
\n
breadcrumb_options.title = result.data.title ||\n
result.data.reference || options.jio_key;\n
breadcrumb_options.parent_link = result.data._links.parent || result.data._links.site_root;\n
\n
breadcrumb_options.parent_link = result.data._links.parent || "#";\n
\n
uri = new URI(\n
result.data._embedded._view._links.form_definition.href\n
...
...
@@ -563,7 +564,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.56327.51436.15564
</string>
</value>
<value>
<string>
93
7.8167.39223.50892
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -581,7 +582,7 @@
</tuple>
<state>
<tuple>
<float>
140
7932681.2
4
</float>
<float>
140
8975361.8
4
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_web_renderjs_ui/bt/revision
View file @
711b4e9b
5
6
5
7
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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