Modified: branches/wf4ever/app/views/packs/_items.rhtml (3409 => 3410)
--- branches/wf4ever/app/views/packs/_items.rhtml 2013-02-07 13:18:26 UTC (rev 3409)
+++ branches/wf4ever/app/views/packs/_items.rhtml 2013-02-08 00:19:19 UTC (rev 3410)
@@ -115,10 +115,9 @@
<% if not types.empty? %>
(<%= types -%>)
<% end %>
- <% if false %>
<% if authorised_to_edit -%>
<span class="deleteLink">
- <%= link_to_remote("delete",
+ <%= link_to_remote(image_tag('grey_cross.png', :alt => 'Delete'),
:update => "pack_items",
:url ="" pack_resources_path(pack) + '/' + e.ro_local_uri,
:method => :delete,
@@ -127,7 +126,6 @@
%>
</span>
<% end %>
- <% end %>
</li>
<% end %>
<% end -%>
Modified: branches/wf4ever/public/stylesheets/styles.css (3409 => 3410)
--- branches/wf4ever/public/stylesheets/styles.css 2013-02-07 13:18:26 UTC (rev 3409)
+++ branches/wf4ever/public/stylesheets/styles.css 2013-02-08 00:19:19 UTC (rev 3410)
@@ -2625,4 +2625,22 @@
.add_item_ro .or {
padding-left: 4em;
color: #335;
-}
\ No newline at end of file
+}
+
+#packItemsList .deleteLink A {
+ float: right;
+ display: inline-block;
+}
+
+#packItemsList LI .deleteLink IMG {
+ visibility: hidden;
+}
+
+#packItemsList LI:hover .deleteLink IMG {
+ visibility: inherit;
+}
+
+#packItemsList LI .deleteLink IMG:hover {
+ background: #CCCCCC;
+}
+