[Bps-public-commit] rt-extension-automaticassignment branch, master, updated. 2a95f8d5aab48640e21b8f17d71ecc4161cb89be

Shawn Moore shawn at bestpractical.com
Wed Aug 17 18:38:13 EDT 2016


The branch, master has been updated
       via  2a95f8d5aab48640e21b8f17d71ecc4161cb89be (commit)
      from  5e7ddd1548b230d96885299f895579cacf272ada (commit)

Summary of changes:
 html/Admin/Queues/Elements/SortableBox |   2 +-
 static/css/automatic-assignment.css    |   5 +++++
 static/images/remove.png               | Bin 0 -> 42548 bytes
 3 files changed, 6 insertions(+), 1 deletion(-)
 create mode 100644 static/images/remove.png

- Log -----------------------------------------------------------------
commit 2a95f8d5aab48640e21b8f17d71ecc4161cb89be
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Wed Aug 17 22:43:59 2016 +0000

    Add remove button as an image
    
    …which is from the Noun Project, licensed in the public domain.

diff --git a/html/Admin/Queues/Elements/SortableBox b/html/Admin/Queues/Elements/SortableBox
index a8b0a81..1d67031 100644
--- a/html/Admin/Queues/Elements/SortableBox
+++ b/html/Admin/Queues/Elements/SortableBox
@@ -3,7 +3,7 @@
 <input type="hidden" class="hidden" name="<% $prefix %>_ClassName" value="<% $class_name %>" />
 <h3><% $class->Description %>
 % if ($allow_remove) {
-<a href="#" class="remove">(x)</a>
+<a href="#" class="remove"><img src="<% RT->Config->Get('WebPath') %>/static/images/remove.png"></a>
 % }
 </h3>
 <div class="inner">
diff --git a/static/css/automatic-assignment.css b/static/css/automatic-assignment.css
index 5b72e4a..f52af01 100644
--- a/static/css/automatic-assignment.css
+++ b/static/css/automatic-assignment.css
@@ -48,3 +48,8 @@ form.automatic-assignment {
 .sortable-box .remove {
     float: right;
 }
+
+.sortable-box .remove img {
+    height: 1em;
+    width: 1em;
+}
diff --git a/static/images/remove.png b/static/images/remove.png
new file mode 100644
index 0000000..e565bb8
Binary files /dev/null and b/static/images/remove.png differ

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


More information about the Bps-public-commit mailing list