Use page_heading helper consistently with the main CKAN templates.
This commit is contained in:
parent
d0bc52f2d8
commit
edfc49719b
|
@ -5,8 +5,8 @@
|
||||||
|
|
||||||
<py:def function="page_title">Harvesting Sources</py:def>
|
<py:def function="page_title">Harvesting Sources</py:def>
|
||||||
|
|
||||||
<py:def function="body_class">harvest</py:def>
|
<py:def function="body_class">harvest no-sidebar</py:def>
|
||||||
<py:def function="body_class">${h.literal('no-sidebar')}</py:def>
|
<py:def function="page_heading">Harvesting Sources</py:def>
|
||||||
|
|
||||||
<py:def function="optional_head">
|
<py:def function="optional_head">
|
||||||
<link type="text/css" rel="stylesheet" media="all" href="/ckanext/harvest/style.css" />
|
<link type="text/css" rel="stylesheet" media="all" href="/ckanext/harvest/style.css" />
|
||||||
|
@ -17,7 +17,6 @@
|
||||||
|
|
||||||
<div py:match="content">
|
<div py:match="content">
|
||||||
<div class="harvest-content">
|
<div class="harvest-content">
|
||||||
<h1>Harvesting Sources</h1>
|
|
||||||
|
|
||||||
<div py:if="c.status" class="status">
|
<div py:if="c.status" class="status">
|
||||||
<h3>Status:</h3>
|
<h3>Status:</h3>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
py:strip="">
|
py:strip="">
|
||||||
|
|
||||||
<py:def function="page_title">Edit - Harvest Source</py:def>
|
<py:def function="page_title">Edit - Harvest Source</py:def>
|
||||||
|
<py:def function="page_heading">Edit harvest source </py:def>
|
||||||
|
|
||||||
<py:def function="body_class">hide-sidebar</py:def>
|
<py:def function="body_class">hide-sidebar</py:def>
|
||||||
<py:def function="optional_head">
|
<py:def function="optional_head">
|
||||||
|
@ -13,7 +14,6 @@
|
||||||
|
|
||||||
<div py:match="content">
|
<div py:match="content">
|
||||||
<div class="harvest-content">
|
<div class="harvest-content">
|
||||||
<h2>Edit harvest source </h2>
|
|
||||||
|
|
||||||
|
|
||||||
${h.literal(c.form)}
|
${h.literal(c.form)}
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
py:strip="">
|
py:strip="">
|
||||||
|
|
||||||
<py:def function="page_title">New - Harvest Source</py:def>
|
<py:def function="page_title">New - Harvest Source</py:def>
|
||||||
|
<py:def function="page_heading">New harvest source </py:def>
|
||||||
|
|
||||||
<py:def function="body_class">hide-sidebar</py:def>
|
<py:def function="body_class">hide-sidebar</py:def>
|
||||||
<py:def function="optional_head">
|
<py:def function="optional_head">
|
||||||
|
@ -13,7 +14,6 @@
|
||||||
|
|
||||||
<div py:match="content">
|
<div py:match="content">
|
||||||
<div class="harvest-content">
|
<div class="harvest-content">
|
||||||
<h2>New harvest source </h2>
|
|
||||||
|
|
||||||
${h.literal(c.form)}
|
${h.literal(c.form)}
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
py:strip="">
|
py:strip="">
|
||||||
|
|
||||||
<py:def function="page_title">Harvest Source Details</py:def>
|
<py:def function="page_title">Harvest Source Details</py:def>
|
||||||
|
<py:def function="page_heading">Harvest Source Details</py:def>
|
||||||
|
|
||||||
<py:def function="optional_head">
|
<py:def function="optional_head">
|
||||||
<link type="text/css" rel="stylesheet" media="all" href="/ckanext/harvest/style.css" />
|
<link type="text/css" rel="stylesheet" media="all" href="/ckanext/harvest/style.css" />
|
||||||
|
@ -12,7 +13,6 @@
|
||||||
<div py:match="content">
|
<div py:match="content">
|
||||||
<div class="harvest-content">
|
<div class="harvest-content">
|
||||||
<py:if test="c.source">
|
<py:if test="c.source">
|
||||||
<h1>Harvest Source Details</h1>
|
|
||||||
<div id="harvest-source-actions">
|
<div id="harvest-source-actions">
|
||||||
<img src="/ckanext/harvest/images/icons/source_edit.png" alt="Edit" /><a href="/harvest/edit/${c.source.id}">Edit source</a> |
|
<img src="/ckanext/harvest/images/icons/source_edit.png" alt="Edit" /><a href="/harvest/edit/${c.source.id}">Edit source</a> |
|
||||||
<img src="/ckanext/harvest/images/icons/source_refresh.png" alt="Refresh" /><a href="/harvest/refresh/${c.source.id}">Refresh source</a> |
|
<img src="/ckanext/harvest/images/icons/source_refresh.png" alt="Refresh" /><a href="/harvest/refresh/${c.source.id}">Refresh source</a> |
|
||||||
|
|
Loading…
Reference in New Issue