##// END OF EJS Templates
extended safe_str and safe_unicode with chardet fallback....
extended safe_str and safe_unicode with chardet fallback. - if chardet is installed and utf-8 decoding fails we'll fallback to detect encoding

File last commit:

r1087:51076a2a beta
r1490:76b358f8 beta
Show More
public_journal.html
41 lines | 1.2 KiB | text/html | HtmlLexer
implemented public journal for anonymous users, admin can control which repositories...
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()">
<div class="box">
<!-- box / title -->
<div class="title">
<h5>${_('Public Journal')}</h5>
fixed unicode problems with file paths....
r1087 <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>
implemented public journal for anonymous users, admin can control which repositories...
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');
});
}
</script>
<div id="journal">${c.journal_data}</div>
</div>
</%def>