summaryrefslogtreecommitdiffstats
path: root/templates/package
diff options
context:
space:
mode:
Diffstat (limited to 'templates/package')
-rw-r--r--templates/package/settings.tmpl3
-rw-r--r--templates/package/shared/list.tmpl4
-rw-r--r--templates/package/shared/versionlist.tmpl2
-rw-r--r--templates/package/view.tmpl3
4 files changed, 5 insertions, 7 deletions
diff --git a/templates/package/settings.tmpl b/templates/package/settings.tmpl
index 205d875c3e..abcdd7ec1c 100644
--- a/templates/package/settings.tmpl
+++ b/templates/package/settings.tmpl
@@ -1,7 +1,8 @@
{{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content repository settings options">
- {{template "user/overview/header" .}}
+ {{template "shared/user/org_profile_avatar" .}}
<div class="ui container">
+ {{template "user/overview/header" .}}
{{template "base/alert" .}}
<p><a href="{{.PackageDescriptor.FullWebLink}}">{{.PackageDescriptor.Package.Name}} ({{.PackageDescriptor.Version.Version}})</a> / <strong>{{.locale.Tr "repo.settings"}}</strong></p>
<h4 class="ui top attached header">
diff --git a/templates/package/shared/list.tmpl b/templates/package/shared/list.tmpl
index 6ac930e5c7..1acafff41a 100644
--- a/templates/package/shared/list.tmpl
+++ b/templates/package/shared/list.tmpl
@@ -1,4 +1,3 @@
-<div class="ui container">
{{template "base/alert" .}}
<form class="ui form ignore-dirty">
<div class="ui fluid action input">
@@ -37,7 +36,7 @@
</li>
{{else}}
{{if not .HasPackages}}
- <div class="empty center">
+ <div class="gt-pt-5 empty center">
{{svg "octicon-package" 48}}
<h2>{{.locale.Tr "packages.empty"}}</h2>
{{if and .Repository .CanWritePackages}}
@@ -52,4 +51,3 @@
{{end}}
{{template "base/paginate" .}}
</div>
-</div>
diff --git a/templates/package/shared/versionlist.tmpl b/templates/package/shared/versionlist.tmpl
index 9fc53d806c..be5c2a16de 100644
--- a/templates/package/shared/versionlist.tmpl
+++ b/templates/package/shared/versionlist.tmpl
@@ -1,4 +1,3 @@
-<div class="ui container">
<p><a href="{{.PackageDescriptor.PackageWebLink}}">{{.PackageDescriptor.Package.Name}}</a> / <strong>{{.locale.Tr "packages.versions"}}</strong></p>
<form class="ui form ignore-dirty">
<div class="ui fluid action input">
@@ -36,4 +35,3 @@
{{end}}
{{template "base/paginate" .}}
</div>
-</div>
diff --git a/templates/package/view.tmpl b/templates/package/view.tmpl
index 6064db1b4c..fe4214cbd2 100644
--- a/templates/package/view.tmpl
+++ b/templates/package/view.tmpl
@@ -1,7 +1,8 @@
{{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content repository view issue packages">
- {{template "user/overview/header" .}}
+ {{template "shared/user/org_profile_avatar" .}}
<div class="ui container">
+ {{template "user/overview/header" .}}
<div class="issue-title-header">
<div class="issue-title">
<h1>{{.PackageDescriptor.Package.Name}} ({{.PackageDescriptor.Version.Version}})</h1>