Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions templates/admin/auth/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<td><a href="{{AppSubUrl}}/-/admin/auths/{{.ID}}">{{svg "octicon-pencil"}}</a></td>
</tr>
{{end}}
{{template "shared/no_results_found" (dict "rst" .Sources "colspan" 7)}}
</tbody>
</table>
</div>
Expand Down
1 change: 1 addition & 0 deletions templates/admin/emails/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
</td>
</tr>
{{end}}
{{template "shared/no_results_found" (dict "rst" .Emails "colspan" 6)}}
</tbody>
</table>
</div>
Expand Down
1 change: 1 addition & 0 deletions templates/admin/notice.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<td class="view-detail"><a href="#">{{svg "octicon-note" 16}}</a></td>
</tr>
{{end}}
{{template "shared/no_results_found" (dict "rst" .Notices "colspan" 6)}}
</tbody>
{{if .Notices}}
<tfoot>
Expand Down
1 change: 1 addition & 0 deletions templates/admin/org/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
<td><a href="{{.OrganisationLink}}/settings" data-tooltip-content="{{ctx.Locale.Tr "edit"}}">{{svg "octicon-pencil"}}</a></td>
</tr>
{{end}}
{{template "shared/no_results_found" (dict "rst" .Users "colspan" 7)}}
</tbody>
</table>
</div>
Expand Down
1 change: 1 addition & 0 deletions templates/admin/packages/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<td><a class="delete-button" href="" data-url="{{$.Link}}/delete?page={{$.Page.Paginater.Current}}&sort={{$.SortType}}" data-id="{{.Version.ID}}" data-name="{{.Package.Name}}" data-data-version="{{.Version.Version}}">{{svg "octicon-trash"}}</a></td>
</tr>
{{end}}
{{template "shared/no_results_found" (dict "rst" .PackageDescriptors "colspan" 10)}}
</tbody>
</table>
</div>
Expand Down
1 change: 1 addition & 0 deletions templates/admin/repo/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
<td><a class="delete-button" href="" data-url="{{$.Link}}/delete?page={{$.Page.Paginater.Current}}&sort={{$.SortType}}" data-id="{{.ID}}" data-name="{{.Name}}">{{svg "octicon-trash"}}</a></td>
</tr>
{{end}}
{{template "shared/no_results_found" (dict "rst" .Repos "colspan" 12)}}
</tbody>
</table>
</div>
Expand Down
1 change: 1 addition & 0 deletions templates/admin/user/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
</td>
</tr>
{{end}}
{{template "shared/no_results_found" (dict "rst" .Users "colspan" 9)}}
</tbody>
</table>
</div>
Expand Down
5 changes: 5 additions & 0 deletions templates/shared/no_results_found.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{if not .rst}}
<tr>
<td class="center aligned" colspan="{{.colspan}}">{{ctx.Locale.Tr "no_results_found"}}</td>
</tr>
{{end}}
Loading