summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/search/_glsas.html.erb')
-rw-r--r--app/views/search/_glsas.html.erb14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/search/_glsas.html.erb b/app/views/search/_glsas.html.erb
new file mode 100644
index 0000000..cfa4c59
--- /dev/null
+++ b/app/views/search/_glsas.html.erb
@@ -0,0 +1,14 @@
+<div class="box">
+ <h2>GLSAs</h2>
+
+ <table class="glsamaker-table">
+ <tr align="left">
+ <th>ID</th>
+ <th>State</th>
+ <th>Title</th>
+ <th>Last changed at/by</th>
+ <% if current_user.is_el_jefe? %><th>Admin</th><% end %>
+ </tr>
+ <%= render :partial => "/glsa/glsa_row", :collection => results, :as => :glsa, :locals => { :view => :archive } %>
+ </table>
+</div> \ No newline at end of file