Add theme warning with hardcoded link
Signed-off-by: Minecon724 <minecon724@noreply.git.m724.eu>
This commit is contained in:
parent
b6bf04ceb4
commit
bbfc7ccb10
2 changed files with 4 additions and 3 deletions
|
@ -829,6 +829,7 @@ manage_themes = Default theme
|
|||
manage_openid = OpenID addresses
|
||||
email_desc = Your primary email address will be used for notifications, password recovery and, provided that it is not hidden, web-based Git operations.
|
||||
theme_desc = This theme will be used for the web interface when you are logged in.
|
||||
theme_warning = <strong>WARNING:</strong> Themes are made by third parties. <a href="/git724/git724/src/branch/master/THEMES.md">Click to read more.</a>
|
||||
primary = Primary
|
||||
activated = Activated
|
||||
requires_activation = Requires activation
|
||||
|
|
|
@ -7,14 +7,14 @@
|
|||
</h4>
|
||||
<div class="ui attached segment">
|
||||
<div class="ui email list">
|
||||
<div class="item">
|
||||
{{ctx.Locale.Tr "settings.theme_desc"}}
|
||||
<div class="item tw-mb-4">
|
||||
<p>{{ctx.Locale.Tr "settings.theme_desc"}}</p>
|
||||
<p>{{ctx.Locale.Tr "settings.theme_warning"}}</p>
|
||||
</div>
|
||||
|
||||
<form class="ui form" action="{{.Link}}/theme" method="post">
|
||||
{{.CsrfTokenHtml}}
|
||||
<div class="field">
|
||||
<label for="ui">{{ctx.Locale.Tr "settings.ui"}}</label>
|
||||
<div class="ui search selection dropdown" id="ui">
|
||||
<input name="theme" type="hidden" value="{{.SignedUser.Theme}}">
|
||||
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
||||
|
|
Loading…
Add table
Reference in a new issue