##// END OF EJS Templates
changed raw action to show images instead of saying about binary file...
changed raw action to show images instead of saying about binary file added mimetype to binary file text

File last commit:

r1087:51076a2a beta
r1241:ed527052 beta
Show More
public_journal.html
41 lines | 1.2 KiB | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Journal')} - ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs()">
${c.rhodecode_name}
</%def>
<%def name="page_nav()">
${self.menu('home')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
<h5>${_('Public Journal')}</h5>
<ul class="links">
<li>
<span>${h.link_to(_('RSS'),h.url('public_journal_rss'),class_='rss_icon')}</span>
</li>
<li>
<span>${h.link_to(_('Atom'),h.url('public_journal_atom'),class_='atom_icon')}</span>
</li>
</ul>
</div>
<script type="text/javascript">
function show_more_event(){
YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){
var el = e.target;
YUD.setStyle(YUD.get(el.id.substring(1)),'display','');
YUD.setStyle(el.parentNode,'display','none');
});
}
</script>
<div id="journal">${c.journal_data}</div>
</div>
</%def>