summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2019-01-20 19:08:18 -0500
committerMitch Jackson <mitch@freeside.biz>2019-01-20 19:08:18 -0500
commit2f418341c06bbcf451702e277c4b52c28f3a0759 (patch)
tree72d26788b0d620fc9e90269780f5bbf4a5e8bfb8 /httemplate/elements
parenta495aa8d41e752490fff8d61aa190601c51a2cb1 (diff)
RT# 32234 Use eye icon for link-replace_element_text widget
Icons from icon set Feather: https://www.iconfinder.com/iconsets/feather Icons authored by Cole Bemis https://www.iconfinder.com/colebemis Icons licensed under the terms of the Creative Commons Attribution 3.0 License https://creativecommons.org/licenses/by/3.0/ License:
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/link-replace_element_text.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/link-replace_element_text.html b/httemplate/elements/link-replace_element_text.html
index 8e611954c..0079fb584 100644
--- a/httemplate/elements/link-replace_element_text.html
+++ b/httemplate/elements/link-replace_element_text.html
@@ -23,7 +23,7 @@ Usage:
% if ($param{class}) {
class="<% $param{class} %>"
% }
- onClick="$('#<% $param{target_id} %>').<% $param{jmethod} %>('<% $param{replace_text} |h %>');">&#x25C1;</a>
+ onClick="$('#<% $param{target_id} %>').<% $param{jmethod} %>('<% $param{replace_text} |h %>');"><% $param{link_text} %></a>
<%init>
die "template call requires a parameter hashref" unless ref $_[0];
@@ -34,7 +34,7 @@ my %param = (
replace_text => 'REPLACEMENT_TEXT_FOR_INPUT_ELEMENT',
element_type => 'input',
- link_text => '%#x25C1;', # ◁
+ link_text => qq{<img src="${fsurl}images/eye.png">},
href => 'javascript:void(0)',
style => 'text-decoration:none;',
class => undef,