Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
34788cd7f7 |
No files matched your search
Vendored
+10
-3
@@ -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} %>
|
||||
Vendored
+4
-4
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user