Compare commits

..
Author SHA1 Message Date
Spen 34788cd7f7 fix app sub manager and ask verification code 2013-11-07 12:13:16 +08:00
2 changed files with 14 additions and 7 deletions

No files matched your search

@@ -44,8 +44,15 @@
<% end %>
</div>
<% unless @bulletin.user_ids.blank? %>
<div class="promoter">
<div>
<p><%= t(:promoter) %>:</p>
<span><%= @bulletin.get_users.map{|u| "<span>#{u.name}</span>"}.join(', ').html_safe %></span>
</div>
</div>
<% end %>
<%= share_links(@bulletin, 'announcement') %>
<% unless @bulletin.user_ids.blank? %>
<%= render partial: 'admin/member_selects/promoter_front', locals: {users: @bulletin.get_users} %>
<% end %>
<%= render partial: 'admin/member_selects/promoter_front', locals: {users: @bulletin.get_users} %>
@@ -8,15 +8,15 @@
<tr>
<th class="column-ctrl col-title"><%= sortable(:title, t("archive.Title"))%></th>
<th class="column-ctrl col-file"><%= t("archive.Files")%></th>
<th class="column-ctrl col-promoter"><%= t(:promoter)%></th>
<th class="column-ctrl col-file"><%= t(:promoter)%></th>
</tr>
</thead>
<tbody>
<% @archive_files.each_with_index do |post,i| %>
<tr <% if ( (i + 1) % 2 ) == 0 %> class="even" <% end %>>
<td class="col-title"><div class="o-archives-title"><%= post.title %></div></td>
<td class="col-file">
<td><div class="o-archives-title"><%= post.title %></div></td>
<td>
<div class="o-archives-list-item">
<% if !post.archive_file_multiples.blank? %>
<ol>
@@ -32,7 +32,7 @@
<% end %>
</div>
</td>
<td class="col-promoter">
<td>
<% unless post.get_users.blank? %>
<div class="promoter-block">
<ul>