Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ENHANCEMENT: Made it possible to attach utility links to a ComplexTab…

…leField beyond just exporting (e.g. printing).
  • Loading branch information...
commit 590dbb5f3f583614cd3146dfae3ccae68d0c839e 1 parent d23aeb2
Andrew Short ajshort authored
Showing with 4 additions and 3 deletions.
  1. +1 −0  css/TableListField.css
  2. +3 −3 templates/ComplexTableField.ss
1  css/TableListField.css
View
@@ -159,6 +159,7 @@ table.CMSList tbody td.current td {
.TableListField div.utility {
margin-top: 1em;
+ padding: 3px 0 6px 0;
}
.TableListField div.utility a {
text-decoration: none;
6 templates/ComplexTableField.ss 100755 → 100644
View
@@ -72,9 +72,9 @@
</tbody>
</table>
<div class="utility">
- <% if Can(export) %>
- <a href="$ExportLink" target="_blank"><% _t('CSVEXPORT', 'Export to CSV' ) %></a>
- <% end_if %>
+ <% control Utility %>
+ <span class="item"><a href="$Link" target="_blank">$Title</a></span>
+ <% end_control %>
</div>
</div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.