projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Guava’s predicate instead of utils’ filter.
[Sone.git]
/
src
/
main
/
resources
/
templates
/
viewSone.html
diff --git
a/src/main/resources/templates/viewSone.html
b/src/main/resources/templates/viewSone.html
index
1d87e46
..
4b88474
100644
(file)
--- a/
src/main/resources/templates/viewSone.html
+++ b/
src/main/resources/templates/viewSone.html
@@
-7,7
+7,10
@@
<h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>
<h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>
- <p><%= Page.ViewSone.NoSone.Description|l10n|replace needle="{sone}" replacementKey=soneId|html></p>
+ <p>
+ <%= Page.ViewSone.NoSone.Description|l10n|replace needle=="{sone}" replacement=soneId|html>
+ <a href="/WebOfTrust/ShowIdentity?id=<% soneId|html>"><%= Page.ViewSone.Profile.Name.WoTLink|l10n|html></a>
+ </p>
<%elseifnull sone.name>
<%elseifnull sone.name>
@@
-49,7
+52,7
@@
<%foreach sone.profile.fields field>
<div class="profile-field">
<div class="name"><% field.name|html></div>
<%foreach sone.profile.fields field>
<div class="profile-field">
<div class="name"><% field.name|html></div>
- <div class="value"><% field.value|parse></div>
+ <div class="value"><% field.value|parse
sone=sone
></div>
</div>
<%/foreach>
</div>
<%/foreach>
@@
-76,7
+79,7
@@
<%/if>
<%/if>
<%/if>
<%/if>
- <h1><%= Page.ViewSone.PostList.Title|l10n|replace needle=
"{sone}" replacementKey
=sone.niceName|html></h1>
+ <h1><%= Page.ViewSone.PostList.Title|l10n|replace needle=
="{sone}" replacement
=sone.niceName|html></h1>
<%foreach posts post>
<%first>
<%foreach posts post>
<%first>
@@
-94,7
+97,7
@@
<%foreach repliedPosts post>
<%first>
<%foreach repliedPosts post>
<%first>
- <h2><%= Page.ViewSone.Replies.Title|l10n|html|replace needle=
"{sone}" replacementKey
=sone.niceName></h2>
+ <h2><%= Page.ViewSone.Replies.Title|l10n|html|replace needle=
="{sone}" replacement
=sone.niceName></h2>
<div id="replied-posts">
<%include include/pagination.html pagination=repliedPostPagination pageParameter==repliedPostPage paginationName==reply-navigation>
<%/first>
<div id="replied-posts">
<%include include/pagination.html pagination=repliedPostPagination pageParameter==repliedPostPage paginationName==reply-navigation>
<%/first>