Private GIT

Skip to content
Snippets Groups Projects
Commit cf58c139 authored by Stephane Chapron's avatar Stephane Chapron Committed by sc979
Browse files

feat(date): Administration Server Status Listing partitions

parent 1329507c
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,8 @@
{foreach from=$item item=partition}
<tr class={cycle values="list_one, list_two"}>
<td class="FormRowField">{$partition.PARTITION_NAME}</td>
<td class="FormRowValue">{$partition.CREATE_TIME}</td>
<!-- converting the db formatted date to timestamp then using a class to call moment-->
<td class="FormRowValue isTimestamp">{$partition.CREATE_TIME|strtotime}</td>
<td class="FormRowValue">{$partition.TABLE_ROWS}</td>
<td class="FormRowValue">{$partition.DATA_LENGTH} {t}MB{/t}</td>
<td class="FormRowValue">{$partition.INDEX_LENGTH} {t}MB{/t}</td>
......@@ -103,3 +104,10 @@
</td>
</tr>
</table>
{literal}
<script>
//formatting the tags containing a class isTimestamp
formatDateMoment();
</script>
{/literal}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment