diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo_contrib_index.tmpl | 4 | ||||
-rw-r--r-- | templates/repo_contrib_one.tmpl | 2 | ||||
-rw-r--r-- | templates/repo_index.tmpl | 2 | ||||
-rw-r--r-- | templates/repo_log.tmpl | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/templates/repo_contrib_index.tmpl b/templates/repo_contrib_index.tmpl index f791e4d..1848576 100644 --- a/templates/repo_contrib_index.tmpl +++ b/templates/repo_contrib_index.tmpl @@ -26,8 +26,8 @@ <tbody> {{- range .merge_requests -}} <tr> - <td class="merge_request-id">{{- .ID -}}</td> - <td class="merge_request-title"><a href="{{- .ID -}}/">{{- .Title -}}</a></td> + <td class="merge_request-id">{{- .Hash -}}</td> + <td class="merge_request-title"><a href="{{- .Hash -}}/">{{- .Title -}}</a></td> <td class="merge_request-status">{{- .Status -}}</td> </tr> {{- end -}} diff --git a/templates/repo_contrib_one.tmpl b/templates/repo_contrib_one.tmpl index b657ee8..113584a 100644 --- a/templates/repo_contrib_one.tmpl +++ b/templates/repo_contrib_one.tmpl @@ -41,7 +41,7 @@ </tr> <tr> <th scope="row">Merge base</th> - <td>{{- .merge_base.ID.String -}}</td> + <td>{{- .merge_base.Hash.String -}}</td> </tr> </tbody> </table> diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index ba5ad9e..39e55cf 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -81,7 +81,7 @@ <tbody> {{- range .commits -}} <tr> - <td class="commit-title"><a href="commit/{{- .ID -}}">{{- .Message | first_line -}}</a></td> + <td class="commit-title"><a href="commit/{{- .Hash -}}">{{- .Message | first_line -}}</a></td> <td class="commit-author"> <a class="email-name" href="mailto:{{- .Author.Email -}}">{{- .Author.Name -}}</a> </td> diff --git a/templates/repo_log.tmpl b/templates/repo_log.tmpl index ac5f554..2cb5867 100644 --- a/templates/repo_log.tmpl +++ b/templates/repo_log.tmpl @@ -27,7 +27,7 @@ <tbody> {{- range .commits -}} <tr> - <td class="commit-id"><a href="../commit/{{- .ID -}}">{{- .ID -}}</a></td> + <td class="commit-id"><a href="../commit/{{- .Hash -}}">{{- .Hash -}}</a></td> <td class="commit-title">{{- .Message | first_line -}}</td> <td class="commit-author"> <a class="email-name" href="mailto:{{- .Author.Email -}}">{{- .Author.Name -}}</a> |