From bebc6a3c77de159c7293464baad5b8cb5aee7700 Mon Sep 17 00:00:00 2001 From: 6543 <24977596+6543@users.noreply.github.com> Date: Fri, 26 Jul 2019 02:01:25 +0200 Subject: [PATCH] [Branch View] icons to buttons (#7602) * add restore-button info message * branch deltete undo icon to button * branch deltete icon to button --- options/locale/locale_en-US.ini | 1 + templates/repo/branch/list.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 969a0953a..e01d0b67d 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1407,6 +1407,7 @@ branch.deleted_by = Deleted by %s branch.restore_success = Branch '%s' has been restored. branch.restore_failed = Failed to restore branch '%s'. branch.protected_deletion_failed = Branch '%s' is protected. It cannot be deleted. +branch.restore = Restore Branch '%s' topic.manage_topics = Manage Topics topic.done = Done diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 7963f8877..d84298d84 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -97,9 +97,9 @@ {{if .IsProtected}} {{else if .IsDeleted}} - + {{else}} - + {{end}} {{end}}