[ui] Show edit and refresh links in source page

This commit is contained in:
amercader 2012-01-10 17:24:05 +00:00
parent 2ad29df5c5
commit a53b79c181
2 changed files with 12 additions and 0 deletions

View File

@ -13,3 +13,12 @@
.harvester-title{ .harvester-title{
font-weight: bold; font-weight: bold;
} }
#harvest-source-actions {
margin-bottom: 10px;
}
#harvest-source-actions img{
vertical-align: middle;
margin: 0 5px;
}

View File

@ -13,6 +13,9 @@
<div class="harvest-content"> <div class="harvest-content">
<py:if test="c.source"> <py:if test="c.source">
<h1>Harvest Source Details</h1> <h1>Harvest Source Details</h1>
<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_refresh.png" alt="Refresh" /><a href="/harvest/refresh/${c.source.id}">Refresh source</a></div>
<table id="harvest-source-details"> <table id="harvest-source-details">
<tr> <tr>
<th>ID</th> <th>ID</th>