Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
This commit is contained in:
commit
60f2864b9e
|
@ -12,7 +12,7 @@
|
||||||
"Revision #{@revision_numbers[rev.id]}" )
|
"Revision #{@revision_numbers[rev.id]}" )
|
||||||
) %>
|
) %>
|
||||||
<%- if @revision_numbers[rev.id] > 1 -%>
|
<%- if @revision_numbers[rev.id] > 1 -%>
|
||||||
<span class="views">
|
<span class="hist_views">
|
||||||
(<%= link_to_revision(rev.page, @revision_numbers[rev.id],
|
(<%= link_to_revision(rev.page, @revision_numbers[rev.id],
|
||||||
text="diff", mode='diff') %>)
|
text="diff", mode='diff') %>)
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -10,9 +10,8 @@
|
||||||
<%= link_to_existing_page page %>
|
<%= link_to_existing_page page %>
|
||||||
<%- if page.revisions.length > 1 %>
|
<%- if page.revisions.length > 1 %>
|
||||||
<span class="views">
|
<span class="views">
|
||||||
(<%= link_to_revision(page, page.revisions.length, text='diff',
|
( <%= link_to_revision(page, page.revisions.length, text='diff',
|
||||||
mode='diff') %>)
|
mode='diff') %> | <%= link_to_history(page, text='history') %> )
|
||||||
(<%= link_to_history(page, text='history') %>)
|
|
||||||
</span>
|
</span>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<div class="byline" style="margin-bottom: 0px">
|
<div class="byline" style="margin-bottom: 0px">
|
||||||
|
|
Loading…
Reference in a new issue