We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da5a46 commit 2d30869Copy full SHA for 2d30869
TODOLIST.md
@@ -3,7 +3,7 @@
3
- Lower priority
4
- Separate contest and non-contest submissions
5
- [ ] Virtual judge
6
-- [ ] Batch upload testdata
+- [x] Batch upload testdata
7
- [ ] Revisit all JSON endpoints
8
- [ ] Revisit all ActiveAdmin pages & Upgrade to ActiveAdmin 3
9
---
app/views/articles/_table.html.erb
@@ -4,7 +4,9 @@
<th class="col-md-5"><%= pin_glyph %> Title</th>
<th class="col-md-3">Time</th>
<th class="col-md-3">Author</th>
- <th class="col-md-1"></th>
+ <% if current_user&.admin? %>
+ <th class="col-md-1"></th>
+ <% end %>
10
</tr>
11
</thead>
12
<tbody>
0 commit comments