mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-12-24 14:39:48 +00:00
fluoride: Use target=_blank for user field links
This commit is contained in:
parent
153f4a492b
commit
c36314fe7f
@ -298,7 +298,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||
}
|
||||
}
|
||||
|
||||
var links = document.querySelectorAll(".user-profile-decription a");
|
||||
var links = document.querySelectorAll(".user-profile-decription a, .user-fields a");
|
||||
for (var j = 0; j < links.length; j++) {
|
||||
links[j].target = "_blank";
|
||||
}
|
||||
|
@ -131,9 +131,13 @@
|
||||
<div class="user-profile-decription">
|
||||
{{EmojiFilter .User.Note .User.Emojis | Raw}}
|
||||
</div>
|
||||
{{if .User.Fields}}{{range .User.Fields}}
|
||||
<div>{{.Name}} - {{.Value | Raw}}</div>
|
||||
{{end}}{{end}}
|
||||
{{if .User.Fields}}
|
||||
<div class="user-fields">
|
||||
{{range .User.Fields}}
|
||||
<div>{{.Name}} - {{.Value | Raw}}</div>
|
||||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user