diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl index 9278e7c28b..0fc385dee7 100644 --- a/templates/repo/release/new.tmpl +++ b/templates/repo/release/new.tmpl @@ -111,32 +111,29 @@
- {{if not .PageIsEditRelease}} -
-
+
+ {{if not .PageIsEditRelease}} +
-
- {{else}} - - {{end}} -
-
+ {{ctx.Locale.Tr "repo.release.add_tag_msg"}} + + + {{else}} + + {{end}} +
-
- {{ctx.Locale.Tr "repo.release.prerelease_helper"}} - {{if not .DisableDownloadSourceArchives}} -
-
+ {{ctx.Locale.Tr "repo.release.prerelease_desc"}} + {{ctx.Locale.Tr "repo.release.prerelease_helper"}} + + {{if not .DisableDownloadSourceArchives}} +
-
- {{ctx.Locale.Tr "repo.release.hide_archive_links_helper"}} - {{end}} + {{ctx.Locale.Tr "repo.release.hide_archive_links"}} + {{ctx.Locale.Tr "repo.release.hide_archive_links_helper"}} + + {{end}} +
{{if .PageIsEditRelease}} diff --git a/web_src/css/repo/release-tag.css b/web_src/css/repo/release-tag.css index 429a4690a4..9860813e98 100644 --- a/web_src/css/repo/release-tag.css +++ b/web_src/css/repo/release-tag.css @@ -99,10 +99,6 @@ padding-bottom: 10px; } -.repository.new.release .prerelease.field { - margin-bottom: 0; -} - @media (max-width: 438px) { .repository.new.release .field button, .repository.new.release .field input {