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
Labels
Merge Requests
137
Merge Requests
137
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
0065fca7
Commit
0065fca7
authored
Jun 10, 2011
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Underline read only relation field links.
parent
9bfae28b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
...inTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
+4
-0
product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+1
-1
product/ERP5Form/MultiRelationField.py
product/ERP5Form/MultiRelationField.py
+1
-1
No files found.
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
View file @
0065fca7
...
...
@@ -476,6 +476,10 @@ a, a:visited, a:focus {\n
text-decoration: none;\n
}\n
\n
.relationfieldlink {\n
text-decoration: underline;\n
}\n
\n
a:hover {\n
background-color: inherit;\n
color:
<dtml-var
link_hover_color
>
;\n
...
...
product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
View file @
0065fca7
1072
\ No newline at end of file
1073
\ No newline at end of file
product/ERP5Form/MultiRelationField.py
View file @
0065fca7
...
...
@@ -338,7 +338,7 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget,
if
not
isinstance
(
value
,
(
list
,
tuple
)):
value
=
value
,
for
jump_reference
,
display_value
in
zip
(
jump_reference_list
,
value
):
string_list
.
append
(
'<a href="%s">%s</a>'
%
\
string_list
.
append
(
'<a
class="relationfieldlink"
href="%s">%s</a>'
%
\
(
jump_reference
.
absolute_url
(),
display_value
))
html_string
=
'<br />'
.
join
(
string_list
)
...
...
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