Commit dc9bf700 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

add the field data to analysis

parent edc6689e
......@@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{/if}
<th nowrap>Name</th>
<th>Description</th>
<th>Date</th>
<th>Software</th>
<th>Version</th>
</tr>
......@@ -33,7 +34,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{if $is_admin}
<tfoot>
<tr>
<th align="left" colspan="5">
<th align="left" colspan="6">
With selection :
<div class="btn-group">
<button id="hide_analysis" type="button" class="btn multiplea-selection-btn btn-small"><i class=" icon-eye-close"></i> hide</button>
......
......@@ -54,6 +54,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{/if}
{if $new_element.data.is_admin}
{if $new_element.data.is_editable}
<td class="editable">
<span class="editable-date" data-type="date" data-pk="{$new_element.data.id}" data-url="index.php?eID=tx_nG6&type=update_db_field&table=tx_nG6_analyze&field=crdate" data-original-title="Select date">{$new_element.data.date|date_format:"%d/%m/%Y"}</span>
</td>
<td class="editable">
<span class="editable" data-type="textarea" data-pk="{$new_element.data.id}" data-url="index.php?eID=tx_nG6&type=update_db_field&table=tx_nG6_analyze&field=software" data-original-title="Enter software name">{$new_element.data.software}</span>
</td>
......@@ -61,10 +64,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<span class="editable" data-type="textarea" data-pk="{$new_element.data.id}" data-url="index.php?eID=tx_nG6&type=update_db_field&table=tx_nG6_analyze&field=version" data-original-title="Enter software version">{$new_element.data.version}</span>
</td>
{else}
<td>{$new_element.data.date|date_format:"%d/%m/%Y"}</td>
<td>{$new_element.data.software}</td>
<td>{$new_element.data.version}</td>
{/if}
{else}
<td>{$new_element.data.date|date_format:"%d/%m/%Y"}</td>
<td>{$new_element.data.software}</td>
<td>{$new_element.data.version}</td>
{/if}
......
......@@ -954,6 +954,7 @@ function initAnalysisTable() {
{ "bSortable": false },
{ "bSortable": false },
{ "bSortable": false },
{ "bSortable": false },
{ "bSortable": false }]
});
} else {
......@@ -964,6 +965,7 @@ function initAnalysisTable() {
{ "bSortable": false },
{ "bSortable": false },
{ "bSortable": false },
{ "bSortable": false },
{ "bSortable": false }]
});
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment