2022-01-11 22:48:52 +05:30
|
|
|
{{if .EscapeStatus}}
|
|
|
|
{{if .EscapeStatus.BadBIDI}}
|
2022-01-20 00:55:08 +05:30
|
|
|
<div class="ui error message unicode-escape-prompt tl">
|
2022-01-11 22:48:52 +05:30
|
|
|
<span class="close icon hide-panel button" data-panel-closest=".message">{{svg "octicon-x" 16 "close inside"}}</span>
|
|
|
|
<div class="header">
|
2022-06-28 02:28:46 +05:30
|
|
|
{{$.root.locale.Tr "repo.bidi_bad_header"}}
|
2022-01-11 22:48:52 +05:30
|
|
|
</div>
|
2022-06-28 02:28:46 +05:30
|
|
|
<p>{{$.root.locale.Tr "repo.bidi_bad_description" | Str2html}}</p>
|
2022-01-11 22:48:52 +05:30
|
|
|
</div>
|
2022-01-20 00:54:15 +05:30
|
|
|
{{else if .EscapeStatus.HasBIDI}}
|
2022-01-20 00:55:08 +05:30
|
|
|
<div class="ui warning message unicode-escape-prompt tl">
|
2022-01-11 22:48:52 +05:30
|
|
|
<span class="close icon hide-panel button" data-panel-closest=".message">{{svg "octicon-x" 16 "close inside"}}</span>
|
|
|
|
<div class="header">
|
2022-06-28 02:28:46 +05:30
|
|
|
{{$.root.locale.Tr "repo.unicode_header"}}
|
2022-01-11 22:48:52 +05:30
|
|
|
</div>
|
2022-06-28 02:28:46 +05:30
|
|
|
<p>{{$.root.locale.Tr "repo.unicode_description" | Str2html}}</p>
|
2022-01-11 22:48:52 +05:30
|
|
|
</div>
|
|
|
|
{{end}}
|
2022-01-07 06:48:52 +05:30
|
|
|
{{end}}
|