From b92a760a5c91946ec22c11c70346c970f0b861fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Zrim=C5=A1ek?= Date: Mon, 29 May 2017 13:35:44 +0200 Subject: [PATCH] Added dropdown GUI for editing repository. [SCI-1269] --- app/views/repositories/index.html.erb | 35 +++++++++++++++++++++++++++ config/locales/en.yml | 5 ++++ 2 files changed, 40 insertions(+) diff --git a/app/views/repositories/index.html.erb b/app/views/repositories/index.html.erb index 779b9a8f6..1fad03aba 100644 --- a/app/views/repositories/index.html.erb +++ b/app/views/repositories/index.html.erb @@ -21,6 +21,41 @@ <% @repositories.each.with_index do |repo, i| %>
+ + +
<% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 85f061cee..0fb81cc31 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -156,6 +156,11 @@ en: no_teams: title: "Your dashboard is empty!" text: "It seems you're not a member of any team. See team management to sort it out." + options_dropdown: + header: "Edit repository" + rename: "Rename" + copy: "Copy" + delete: "Delete" nav: breadcrumbs: repositories: "Repositories"