forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/go-gitea/gitea
* 'main' of https://github.com/go-gitea/gitea: [doc] https-setup: explain relative paths for {CERT,KEY}_FILE fields. (go-gitea#18244) chore: remove unnecessary section (go-gitea#18209) Fix purple color in suggested label colors (go-gitea#18241) Prevent NPE when viewing non-rendered files (go-gitea#18234)
- Loading branch information
Showing
4 changed files
with
21 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
{{if .EscapeStatus.BadBIDI}} | ||
<div class="ui error message unicode-escape-prompt"> | ||
<span class="close icon hide-panel button" data-panel-closest=".message">{{svg "octicon-x" 16 "close inside"}}</span> | ||
<div class="header"> | ||
{{$.root.i18n.Tr "repo.bidi_bad_header"}} | ||
</div> | ||
<p>{{$.root.i18n.Tr "repo.bidi_bad_description" | Str2html}}</p> | ||
</div> | ||
{{else if .EscapeStatus.Escaped}} | ||
<div class="ui warning message unicode-escape-prompt"> | ||
<span class="close icon hide-panel button" data-panel-closest=".message">{{svg "octicon-x" 16 "close inside"}}</span> | ||
<div class="header"> | ||
{{$.root.i18n.Tr "repo.unicode_header"}} | ||
</div> | ||
<p>{{$.root.i18n.Tr "repo.unicode_description" | Str2html}}</p> | ||
</div> | ||
{{if .EscapeStatus}} | ||
{{if .EscapeStatus.BadBIDI}} | ||
<div class="ui error message unicode-escape-prompt"> | ||
<span class="close icon hide-panel button" data-panel-closest=".message">{{svg "octicon-x" 16 "close inside"}}</span> | ||
<div class="header"> | ||
{{$.root.i18n.Tr "repo.bidi_bad_header"}} | ||
</div> | ||
<p>{{$.root.i18n.Tr "repo.bidi_bad_description" | Str2html}}</p> | ||
</div> | ||
{{else if .EscapeStatus.Escaped}} | ||
<div class="ui warning message unicode-escape-prompt"> | ||
<span class="close icon hide-panel button" data-panel-closest=".message">{{svg "octicon-x" 16 "close inside"}}</span> | ||
<div class="header"> | ||
{{$.root.i18n.Tr "repo.unicode_header"}} | ||
</div> | ||
<p>{{$.root.i18n.Tr "repo.unicode_description" | Str2html}}</p> | ||
</div> | ||
{{end}} | ||
{{end}} |