~yeliabmas/sloecode/wiki-file-creation

« back to all changes in this revision

Viewing changes to sloecode/templates/wiki/page.html

  • Committer: Sam Bailey
  • Date: 2012-06-28 08:50:24 UTC
  • Revision ID: yeliabmas@gmail.com-20120628085024-m4xfdwppgr5m5lu2
Completed edit template, and added new child template for all text-based views

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
{% block content %}
10
10
 
11
11
<div style='float:left'>
12
 
        {% for crumb in file['breadcrumbs'] %}
 
12
        {% for crumb in fragments['breadcrumbs'] %}
13
13
      {% if loop.last %}
14
14
        <span class="crumb">{{ crumb.title }}</span>
15
15
      {% else %}
17
17
      {% endif %}
18
18
    {% endfor %}
19
19
</div>
20
 
<a href="{{file['edit_url']}}" style='float:right;padding:5px;border:solid 1px'>Edit</a>
21
 
<a href="{{file['listing_url']}}" style='float:right;padding:5px;border:solid 1px'>Browse Wiki Content</a>
 
20
<a href="{{fragments['edit_url']}}" style='float:right;padding:5px;border:solid 1px'>Edit</a>
 
21
<a href="{{fragments['listing_url']}}" style='float:right;padding:5px;border:solid 1px'>Browse Wiki Content</a>
22
22
<div style='clear:both'/>
23
23
<div style='border:solid 1px;padding:10px'>
24
 
        {{ file['content'] }}
 
24
        {% block wiki_content %} {% endblock %}
25
25
</div>
26
26
{% endblock %}