Files
@ a1e156503afe
Branch filter:
Location: kallithea/rhodecode/templates/journal/public_journal.html - annotation
a1e156503afe
1.4 KiB
text/html
Fixed calls to Session in db model
- added inject_ui method that should be later used for all injections of extra parameters into ui
- fixed naming conflict of `comments` functions and relationship that had the same name
- added inject_ui method that should be later used for all injections of extra parameters into ui
- fixed naming conflict of `comments` functions and relationship that had the same name
3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 3fe3285868d1 f91d3f9b7230 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 6bef2a9f73e2 f91d3f9b7230 f91d3f9b7230 | ## -*- 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="head_extra()">
<link href="${h.url('public_journal_atom')}" rel="alternate" title="${_('ATOM public journal feed')}" type="application/atom+xml" />
<link href="${h.url('public_journal_rss')}" rel="alternate" title="${_('RSS public journal feed')}" type="application/rss+xml" />
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
<h5>${_('Public Journal')}</h5>
<ul class="links">
<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>
</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>
|