Commit 398d6874 authored by o@immerda.ch's avatar o@immerda.ch
Browse files

some tweaks to admin resource page

parent 10e5975d
......@@ -40,7 +40,7 @@
style.display='none';
document.getElementById('delete_<%= resource_ui_id %>').style.display='inline';
"><%= t :delete %></button>
<%= submit_tag(t(:delete),
<%= submit_tag(t(:confirm_delete),
name: "delete",
id: "delete_#{resource_ui_id}",
class: "btn btn-danger", style: "display:none") %>
......
......@@ -10,6 +10,7 @@
&nbsp;&nbsp;&nbsp;
<%= form_tag "", method: :get do %>
<div class="form-group">
<%= hidden_field('', :resource_action, value: @resource_action) %>
<%= select_tag(:resource_name,
options_for_select([['----',nil]]+resource_list,
@resource_name || '----'),
......
......@@ -197,6 +197,7 @@ en:
invite_token:
one: "Invite Code"
other: "Invite Codes"
resources_admin: "Manage user resources"
my_resources: "List my extra services"
new_resource: "Create service"
missing_gpg_key: "OpenGPG Key needed. Please upload one in the OpenPGP Keys settings."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment