Files @ 631e8000eae8
Branch filter:

Location: kallithea/rhodecode/templates/journal/public_journal.html

Mads Kiilerich
diff parser: match the header order of hg diff --git patches

The output might look like:

diff --git a/A b/B
old mode 100644
new mode 100755
rename from A
rename to B
--- a/A
+++ b/B

Such files were shown as 'modified binary file chmod 100644 => 100755' without
diff.

Now the chmod and diff will be shown ... but still not the rename.

Correct parsing of headers do require a better parser - one do not just use a
regexp.
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
    ${_('Public Journal')} &middot; ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs()">
    ${c.rhodecode_name}
</%def>
<%def name="page_nav()">
    ${self.menu('journal')}
</%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_atom')}"><img class="icon" title="${_('ATOM feed')}" alt="${_('ATOM feed')}" src="${h.url('/images/icons/rss_16.png')}"/></a></span>
     </li>
     </ul>
  </div>

  <div id="journal">${c.journal_data}</div>
</div>

</%def>