From 9ae4c17cb1fde0eaa1556e545a8871b6a70d2efa Mon Sep 17 00:00:00 2001 From: David Svantesson Date: Sat, 9 Nov 2019 01:39:37 +0100 Subject: Allow to add and remove all repositories to/from team. (#8867) * Allow to add and remove all repositories to team. * Change style, buttons on same row. * Apply suggestions from code review Grammar Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Move set num repos to lower function. * Make general language sentences --- templates/org/team/repositories.tmpl | 53 ++++++++++++++++++++++++++++-------- 1 file changed, 42 insertions(+), 11 deletions(-) (limited to 'templates') diff --git a/templates/org/team/repositories.tmpl b/templates/org/team/repositories.tmpl index 1b2a411c2b..66af5195b0 100644 --- a/templates/org/team/repositories.tmpl +++ b/templates/org/team/repositories.tmpl @@ -9,25 +9,33 @@ {{template "org/team/navbar" .}} {{$canAddRemove := and $.IsOrganizationOwner (not $.Team.IncludesAllRepositories)}} {{if $canAddRemove}} -
-
- {{.CsrfTokenHtml}} -