Files
@ e7d7f05217c1
Branch filter:
Location: kallithea/rhodecode/templates/journal/public_journal.html - annotation
e7d7f05217c1
1.2 KiB
text/html
replaced all decode('utf-8') instances with .decode('utf-8','replace') for more error prof setup,
this way rhodecode could handle displaying non utf8 encoded file paths. This is still an invalid path, but this way we could at least show those paths without errors
this way rhodecode could handle displaying non utf8 encoded file paths. This is still an invalid path, but this way we could at least show those paths without errors
3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 51076a2a2b64 51076a2a2b64 51076a2a2b64 51076a2a2b64 51076a2a2b64 51076a2a2b64 51076a2a2b64 51076a2a2b64 51076a2a2b64 51076a2a2b64 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 3fe3285868d1 | ## -*- 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>
|