[freeside-commits] branch FREESIDE_4_BRANCH updated. a0a446d2f9b98e706bd221159f9212fa0cac0af8

Mitch Jackson mitch at freeside.biz
Sun Jan 20 16:20:18 PST 2019


The branch, FREESIDE_4_BRANCH has been updated
       via  a0a446d2f9b98e706bd221159f9212fa0cac0af8 (commit)
       via  5af75228ff31bc6133b1f4eeb5ac2186fee26d70 (commit)
      from  bb863b9ae9612ae40a922a2f0d0cd82f949cad09 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a0a446d2f9b98e706bd221159f9212fa0cac0af8
Author: Mitch Jackson <mitch at freeside.biz>
Date:   Sun Jan 20 19:16:35 2019 -0500

    RT# 32234 Use eye icon for link-replace_element_text widget

diff --git a/httemplate/elements/link-replace_element_text.html b/httemplate/elements/link-replace_element_text.html
index 0079fb584..77d3adbcd 100644
--- a/httemplate/elements/link-replace_element_text.html
+++ b/httemplate/elements/link-replace_element_text.html
@@ -34,7 +34,7 @@ my %param = (
     replace_text => 'REPLACEMENT_TEXT_FOR_INPUT_ELEMENT',
     element_type => 'input',
 
-    link_text    => qq{<img src="${fsurl}images/eye.png">},
+    link_text    => qq{<img src="${fsurl}images/eye-20x20.png" height="14" width="14">},
     href         => 'javascript:void(0)',
     style        => 'text-decoration:none;',
     class        => undef,

commit 5af75228ff31bc6133b1f4eeb5ac2186fee26d70
Author: Mitch Jackson <mitch at freeside.biz>
Date:   Sun Jan 20 19:08:18 2019 -0500

    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:

diff --git a/httemplate/docs/license.html b/httemplate/docs/license.html
index ab33c7c0f..7206048ad 100644
--- a/httemplate/docs/license.html
+++ b/httemplate/docs/license.html
@@ -164,5 +164,13 @@ http://www.iconarchive.com/show/oxygen-icons-by-oxygen-icons.org/Actions-documen
 licensed under GNU Lesser General Public License
 </P>
 
+
+<P>
+Contains icons from
+<A HREF="https://www.iconfinder.com/colebemis" TARGET="_blank">iconfinder.com</A>
+by Cole Bemis, licensed under the terms of the Creative Commons Attribution
+3.0 License.
+</p>
+
 </BODY>
 </HTML>
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,
diff --git a/httemplate/images/eye-20x20.png b/httemplate/images/eye-20x20.png
new file mode 100644
index 000000000..e0206a1d2
Binary files /dev/null and b/httemplate/images/eye-20x20.png differ
diff --git a/httemplate/images/eye-off-20x20.png b/httemplate/images/eye-off-20x20.png
new file mode 100644
index 000000000..1d8f5f4bc
Binary files /dev/null and b/httemplate/images/eye-off-20x20.png differ

-----------------------------------------------------------------------

Summary of changes:
 httemplate/docs/license.html                       |   8 ++++++++
 httemplate/elements/link-replace_element_text.html |   4 ++--
 httemplate/images/eye-20x20.png                    | Bin 0 -> 404 bytes
 httemplate/images/eye-off-20x20.png                | Bin 0 -> 490 bytes
 4 files changed, 10 insertions(+), 2 deletions(-)
 create mode 100644 httemplate/images/eye-20x20.png
 create mode 100644 httemplate/images/eye-off-20x20.png




More information about the freeside-commits mailing list