25 lines
783 B
Plaintext
25 lines
783 B
Plaintext
|
<div>
|
||
|
<table class="table main-list">
|
||
|
<thead>
|
||
|
<tr class="sort-header">
|
||
|
<% @table_fields.each do |f| %>
|
||
|
<%= thead(f) %>
|
||
|
<% end %>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<%= render :partial => 'text', :collection => @marquee.marquee_texts %>
|
||
|
</tbody>
|
||
|
</div>
|
||
|
|
||
|
<% if current_user.is_admin? or current_user.is_manager?(@module_app) %>
|
||
|
<div class="bottomnav clearfix" style="left: 81px;">
|
||
|
<div class="action pull-right">
|
||
|
<a data-fx="fade" class="btn btn-primary" href="/admin/text_marquees/<%= @marquee.id.to_s %>/newtext">
|
||
|
<i class="icon-plus"></i> <%= t("text_marquee.new") %>
|
||
|
</a>
|
||
|
</div>
|
||
|
<div class="pagination pagination-centered"></div>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
<%= render 'layouts/delete_modal', delete_options: @delete_options %>
|