Skip to content

Commit

Permalink
title tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Nov 1, 2020
1 parent 74a04ac commit 71aa21e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
12 changes: 9 additions & 3 deletions templates/repo/release/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,15 @@
{{end}}
</div>
{{else}}
<h3 class="release-list-title">
<a href="{{$.RepoLink}}/releases/tag/{{.TagName | EscapePound}}">{{.Title}}</a>
{{if $.CanCreateRelease}}<small>(<a href="{{$.RepoLink}}/releases/edit/{{.TagName | EscapePound}}" rel="nofollow">{{$.i18n.Tr "repo.release.edit"}}</a>)</small>{{end}}
<h3 class="release-list-title df ac">
<a href="{{$.RepoLink}}/releases/tag/{{.TagName | EscapePound}}">
{{.Title}}
</a>
{{if $.CanCreateRelease}}
<small class="ml-2">
(<a href="{{$.RepoLink}}/releases/edit/{{.TagName | EscapePound}}" rel="nofollow">{{$.i18n.Tr "repo.release.edit"}}</a>)
</small>
{{end}}
</h3>
<p class="text grey">
<span class="author">
Expand Down
3 changes: 2 additions & 1 deletion web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -1922,8 +1922,9 @@
padding-top: 15px;

.release-list-title {
font-size: 1.5rem;
font-size: 2rem;
font-weight: normal;
margin-top: -6px;
}

> li {
Expand Down

0 comments on commit 71aa21e

Please sign in to comment.