@ -28,27 +28,29 @@
{{ - end - }}
</a>
</span>
<span class="message df ac mr-2"> {{ RenderCommitMessage $ commit .Subject $ .RepoLink $ .Repository .ComposeMetas }} </span>
<span class="message dib ellipsis mr-2">
<span> {{ RenderCommitMessage $ commit .Subject $ .RepoLink $ .Repository .ComposeMetas }} </span>
</span>
<span class="tags df ac">
{{ range $ commit .Refs }}
{{ $ refGroup : = .RefGroup }}
{{ if eq $ refGroup "pull" }}
{{ if or ( not $ .HidePRRefs ) ( containGeneric $ .SelectedBranches .Name ) }}
<!-- it's intended to use issues not pulls, if it's a pull you will get redirected -->
<a class="ui labelled icon button basic tiny" href=" {{ $ .RepoLink }} / {{ if $ .Repository .UnitEnabled $ .UnitTypePullRequests }} pulls {{ else }} issues {{ end }} / {{ .ShortName | PathEscape }} ">
<a class="ui labelled icon button basic tiny mr-2 " href=" {{ $ .RepoLink }} / {{ if $ .Repository .UnitEnabled $ .UnitTypePullRequests }} pulls {{ else }} issues {{ end }} / {{ .ShortName | PathEscape }} ">
{{ svg "octicon-git-pull-request" 1 6 "mr-2" }} # {{ .ShortName }}
</a>
{{ end }}
{{ else if eq $ refGroup "tags" }}
<a class="ui labelled icon button basic tiny" href=" {{ $ .RepoLink }} /src/tag/ {{ .ShortName | PathEscape }} ">
<a class="ui labelled icon button basic tiny mr-2 " href=" {{ $ .RepoLink }} /src/tag/ {{ .ShortName | PathEscape }} ">
{{ svg "octicon-tag" 1 6 "mr-2" }} {{ .ShortName }}
</a>
{{ else if eq $ refGroup "remotes" }}
<a class="ui labelled icon button basic tiny" href=" {{ $ .RepoLink }} /src/commit/ {{ $ commit .Rev | PathEscape }} ">
<a class="ui labelled icon button basic tiny mr-2 " href=" {{ $ .RepoLink }} /src/commit/ {{ $ commit .Rev | PathEscape }} ">
{{ svg "octicon-cross-reference" 1 6 "mr-2" }} {{ .ShortName }}
</a>
{{ else if eq $ refGroup "heads" }}
<a class="ui labelled icon button basic tiny" href=" {{ $ .RepoLink }} /src/branch/ {{ .ShortName | PathEscape }} ">
<a class="ui labelled icon button basic tiny mr-2 " href=" {{ $ .RepoLink }} /src/branch/ {{ .ShortName | PathEscape }} ">
{{ svg "octicon-git-branch" 1 6 "mr-2" }} {{ .ShortName }}
</a>
{{ else }}