aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick G <geek1011@users.noreply.github.com>2017-04-05 21:32:59 -0400
committerLunny Xiao <xiaolunwen@gmail.com>2017-04-05 18:32:59 -0700
commitd800305b347cd452319ffc61d7881bf8a1b8b707 (patch)
tree10116e4af0cdf0f5729b4a4df5711210fa5bd69a
parent0cee52e0d3e171bb6bba63aa12479ea5b2b35561 (diff)
downloadgitea-d800305b347cd452319ffc61d7881bf8a1b8b707.tar.gz
gitea-d800305b347cd452319ffc61d7881bf8a1b8b707.zip
Commit search appearence fixes (#1254)
* Fix button text to be consisstent with rest of UI * Make all commits checkbox look nicer
-rw-r--r--options/locale/locale_en-US.ini2
-rw-r--r--templates/repo/commits_table.tmpl6
2 files changed, 6 insertions, 2 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 35a5244940..c843a4b398 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -546,8 +546,8 @@ editor.upload_files_to_dir = Upload files to '%s'
commits.commits = Commits
commits.search = Search commits
+commits.find = Search
commits.search_all = All branches
-commits.find = Find
commits.author = Author
commits.message = Message
commits.date = Date
diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl
index 8e473f22da..45cfe1890d 100644
--- a/templates/repo/commits_table.tmpl
+++ b/templates/repo/commits_table.tmpl
@@ -6,7 +6,11 @@
<div class="ui tiny search input">
<input name="q" placeholder="{{.i18n.Tr "repo.commits.search"}}" value="{{.Keyword}}" autofocus>
</div>
- <input type="checkbox" name="all" id="all" value="true" {{.All}}><label for="all">{{.i18n.Tr "repo.commits.search_all"}}</label>
+ &nbsp;
+ <div class="ui checkbox">
+ <input type="checkbox" name="all" id="all" value="true" {{.All}}>
+ <label for="all">{{.i18n.Tr "repo.commits.search_all"}} &nbsp;&nbsp;</label>
+ </div>
<button class="ui black tiny button" data-panel="#add-deploy-key-panel">{{.i18n.Tr "repo.commits.find"}}</button>
</form>
</div>