Browse Source

template fix

tags/v1.2.0-rc1
Unknwon 9 years ago
parent
commit
fea9ff85b6
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      templates/repo/diff.tmpl
  2. +2
    -2
      templates/repo/view_list.tmpl

+ 1
- 1
templates/repo/diff.tmpl View File

@@ -11,7 +11,7 @@
{{.i18n.Tr "repo.diff.browse_source"}} {{.i18n.Tr "repo.diff.browse_source"}}
</a> </a>
</div> </div>
{{RenderCommitMessage .Commit.Message $.RepoLink}}
{{RenderCommitMessage .Commit.Message $.RepoLink $.Repository.ComposeMetas}}
</h4> </h4>
<div class="ui attached info segment"> <div class="ui attached info segment">
{{if .Author}} {{if .Author}}


+ 2
- 2
templates/repo/view_list.tmpl View File

@@ -10,7 +10,7 @@
<strong>{{.LastCommit.Author.Name}}</strong> <strong>{{.LastCommit.Author.Name}}</strong>
{{end}} {{end}}
<a rel="nofollow" class="ui sha label" href="{{.RepoLink}}/commit/{{.LastCommit.ID}}" rel="nofollow">{{ShortSha .LastCommit.ID.String}}</a> <a rel="nofollow" class="ui sha label" href="{{.RepoLink}}/commit/{{.LastCommit.ID}}" rel="nofollow">{{ShortSha .LastCommit.ID.String}}</a>
<span class="grey">{{RenderCommitMessage .LastCommit.Summary .RepoLink}}</span>
<span class="grey">{{RenderCommitMessage .LastCommit.Summary .RepoLink $.Repository.ComposeMetas}}</span>
</th> </th>
<th class="nine wide"> <th class="nine wide">
</th> </th>
@@ -44,7 +44,7 @@
{{end}} {{end}}
<td class="message collapsing"> <td class="message collapsing">
<a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.ID}}">{{ShortSha $commit.ID.String}}</a> <a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.ID}}">{{ShortSha $commit.ID.String}}</a>
{{RenderCommitMessage $commit.Summary $.RepoLink}}
{{RenderCommitMessage $commit.Summary $.RepoLink $.Repository.ComposeMetas}}
</td> </td>
<td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td> <td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td>
</tr> </tr>


Loading…
Cancel
Save