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
75c0337
..
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>
@@
-18,8
+12,15
@@
<%include include/viewSone.html>
<%/if>
<%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>