public_journal.html
40 lines
| 1.2 KiB
| text/html
|
HtmlLexer
r1085 | ## -*- 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()"> | ||||
r1888 | ||||
r1085 | <div class="box"> | |||
<!-- box / title --> | ||||
<div class="title"> | ||||
<h5>${_('Public Journal')}</h5> | ||||
r1087 | <ul class="links"> | |||
r2397 | <li> | |||
<span><a href="${h.url('public_journal_rss')}"><img class="icon" title="${_('RSS feed')}" alt="${_('RSS feed')}" src="${h.url('/images/icons/atom.png')}"/></a></span> | ||||
</li> | ||||
<li> | ||||
<span><a href="${h.url('public_journal_atom')}"><img class="icon" title="${_('ATOM feed')}" alt="${_('ATOM feed')}" src="${h.url('/images/icons/rss_16.png')}"/></a></span> | ||||
</li> | ||||
r1888 | </ul> | |||
r1085 | </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'); | ||||
}); | ||||
} | ||||
r1888 | </script> | |||
r1085 | <div id="journal">${c.journal_data}</div> | |||
</div> | ||||
r1888 | ||||
</%def> | ||||