aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/webapp')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/blog.html9
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/index.html3
2 files changed, 2 insertions, 10 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/blog.html b/juick-www/src/main/webapp/WEB-INF/views/blog.html
index 88fe6641..bddaa4e5 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/blog.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/blog.html
@@ -25,17 +25,12 @@
{{ tags(msg.user.name, msg.tags | tagsList) }}
</div>
</header>
-
+ <p>{{ msg | formatMessage }}</p>
{% if msg.AttachmentType is not empty %}
- <p class="ir"><a href="//i.juick.com/photos-512/{{ msg.mid }}.{{ msg.AttachmentType }}"
- onclick="return showPhotoDialog('{{ msg.mid }}.{{ msg.AttachmentType }}')">
+ <p class="ir"><a href="//i.juick.com/p/{{ msg.mid }}.{{ msg.AttachmentType }}" data-fname="{{ msg.mid }}.{{ msg.AttachmentType }}">
<img src="//i.juick.com/photos-512/{{ msg.mid }}.{{ msg.AttachmentType }}" alt=""/></a>
</p>
{% endif %}
- <p>{{ msg | formatMessage }}</p>
- {% if msg.AttachmentType is not empty %}
- <div class="irbr"></div>
- {% endif %}
<nav class="l">
{% if visitor.uid > 0 %}
<a href="/post?body=!+%23{{ msg.mid }}" class="a-like">{{ i18n("messages","message.recommend") }}</a>
diff --git a/juick-www/src/main/webapp/WEB-INF/views/index.html b/juick-www/src/main/webapp/WEB-INF/views/index.html
index 082a5464..9299ccf8 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/index.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/index.html
@@ -31,9 +31,6 @@
<img src="//i.juick.com/photos-512/{{ msg.mid }}.{{ msg.AttachmentType }}" alt=""/></a>
</p>
{% endif %}
- {% if msg.AttachmentType is not empty %}
- <div class="irbr"></div>
- {% endif %}
<nav class="l">
{% if visitor.uid > 0 %}
<a href="/post?body=!+%23{{ msg.mid }}" class="a-like">{{ i18n("messages","message.recommend") }}</a>