From 9a5a27ea8d855e8724ebb066a40e43a7dea119f5 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 15 Mar 2016 19:52:40 -0400 Subject: [PATCH] Improve repository lable style - add border-radius to filter list items - use color as background of label for issue/pull view page --- README.md | 2 +- gogs.go | 2 +- public/css/gogs.css | 1 + public/less/_repository.less | 1 + templates/.VERSION | 2 +- templates/repo/issue/view_content.tmpl | 5 ++++- templates/repo/settings/githook_edit.tmpl | 2 +- 7 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 940312549..027c1a664 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra ![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true) -##### Current version: 0.9.10 +##### Current version: 0.9.11 | Web | UI | Preview | |:-------------:|:-------:|:-------:| diff --git a/gogs.go b/gogs.go index 1906c176a..bca4719f1 100644 --- a/gogs.go +++ b/gogs.go @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.9.10.0315" +const APP_VER = "0.9.11.0316" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/public/css/gogs.css b/public/css/gogs.css index 7c7ea83c6..7f71924b1 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1140,6 +1140,7 @@ footer .container .links > *:first-child { border-bottom: none; } .repository .filter.menu .label.color { + border-radius: 3px; margin-left: 15px; padding: 0 8px; } diff --git a/public/less/_repository.less b/public/less/_repository.less index 88df107e6..c2b90fa93 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -80,6 +80,7 @@ } .filter.menu { .label.color { + border-radius: 3px; margin-left: 15px; padding: 0 8px; } diff --git a/templates/.VERSION b/templates/.VERSION index 466fc8e07..80cb769f9 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.9.10.0315 \ No newline at end of file +0.9.11.0316 \ No newline at end of file diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 30687a2bb..e5c3d3d42 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -246,7 +246,10 @@
{{.i18n.Tr "repo.issues.new.no_label"}} {{range .Labels}} - {{.Name}} +
+ {{.Name}} +
+ {{end}}
diff --git a/templates/repo/settings/githook_edit.tmpl b/templates/repo/settings/githook_edit.tmpl index 22c278fe4..d139fd3f3 100644 --- a/templates/repo/settings/githook_edit.tmpl +++ b/templates/repo/settings/githook_edit.tmpl @@ -20,7 +20,7 @@
- +