projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move most of the JavaScript to sone.js.
[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
71fba4f
..
827aa11
100644
(file)
--- a/
src/main/resources/templates/viewSone.html
+++ b/
src/main/resources/templates/viewSone.html
@@
-1,11
+1,5
@@
<%include include/head.html>
<%include include/head.html>
- <script language="javascript">
- $(document).ready(function() {
- addCommentLinks();
- });
- </script>
-
<%ifnull sone.name>
<h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>
<%ifnull sone.name>
<h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>
@@
-14,10
+8,19
@@
<%else>
<%else>
- <%include include/viewSone.html>
+ <%if ! sone.current>
+ <%include include/viewSone.html>
+ <%/if>
+
+ <div id="import-key">
+ <div class="import-key"><% sone.requestUri|html></div>
+ </div>
<div id="posts">
<%foreach sone.posts post>
<div id="posts">
<%foreach sone.posts post>
+ <%first>
+ <h1><%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html></h1>
+ <%/first>
<%include include/viewPost.html>
<%foreachelse>
<div><%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html></div>
<%include include/viewPost.html>
<%foreachelse>
<div><%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html></div>
@@
-29,6
+32,8
@@
<div id="following">
<%foreach sone.friends sone>
<%include include/viewSone.html>
<div id="following">
<%foreach sone.friends sone>
<%include include/viewSone.html>
+ <%foreachelse>
+ <div><%= Page.ViewSone.Following.FollowingNone.Text|l10n|html></div>
<%/foreach>
</div>
<%/foreach>
</div>