From e72289c468b4fba778fa0dbfe4d3cd1989d40391 Mon Sep 17 00:00:00 2001 From: Brad Date: Fri, 6 Jun 2014 11:36:16 -0700 Subject: [PATCH] ability to save repository settings --- server/template/html/repo_conf.html | 44 ++++++++++++++++++++++------- server/template/html/repo_feed.html | 5 ++-- server/template/repo_conf.amber | 32 ++++++++++++++++++--- server/template/repo_feed.amber | 3 +- 4 files changed, 65 insertions(+), 19 deletions(-) diff --git a/server/template/html/repo_conf.html b/server/template/html/repo_conf.html index 7204786e..a881c52f 100644 --- a/server/template/html/repo_conf.html +++ b/server/template/html/repo_conf.html @@ -36,14 +36,14 @@ -
-
+
{{$__amber_24 := .Repo.Name}}{{$__amber_25 := .Repo.Owner}}{{$__amber_26 := .Repo.Host}}{{$__amber_27 := __amber_add "/v1/repos/" $__amber_26}}{{$__amber_28 := __amber_add $__amber_27 "/"}}{{$__amber_29 := __amber_add $__amber_28 $__amber_25}}{{$__amber_30 := __amber_add $__amber_29 "/"}}{{$__amber_31 := __amber_add $__amber_30 $__amber_24}} +
Commit Hooks
-
{{$__amber_24 := .Repo.PostCommit}} - +
{{$__amber_32 := .Repo.PostCommit}} +
Badges - +
Private Variables - +
Public Key - +
- +
@@ -98,5 +98,29 @@ + diff --git a/server/template/html/repo_feed.html b/server/template/html/repo_feed.html index d5723906..66f154dd 100644 --- a/server/template/html/repo_feed.html +++ b/server/template/html/repo_feed.html @@ -87,13 +87,12 @@ {{else}}