show registration date of domain (if given) in admin and customer domain-list, fixes #553

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-02 11:50:45 +01:00
parent 212cb0140d
commit 426e46a2df
5 changed files with 11 additions and 5 deletions

View File

@@ -4,10 +4,13 @@
<if $row['termination_css'] == ''>
<tr <if $row['deactivated'] == 1>class="disabled"</if>>
</if>
<td>{$row['domain']}
<td><b>{$row['domain']}</b>
<if (isset($row['standardsubdomain']) && $row['standardsubdomain'] == $row['id'])>
&nbsp;({$lng['admin']['stdsubdomain']})
</if>
<if $row['registration_date'] != ''>
<br><small>{$lng['domains']['registration_date']}: {$row['registration_date']}</small>
</if>
<if $row['termination_date'] != ''>
<br><small><div class="red">({$lng['domains']['termination_date_overview']} {$row['termination_date']})</div></small>
</if>

View File

@@ -5,7 +5,10 @@
<tr>
</if>
<td>
<a href="http://{$row['domain']}" target="_blank">{$row['domain']}</a>
<a href="http://{$row['domain']}" target="_blank"><b>{$row['domain']}</b></a>
<if $row['registration_date'] != ''>
<br><small>{$lng['domains']['registration_date']}: {$row['registration_date']}</small>
</if>
<if $row['termination_date'] != ''>
<br><small><div class="red">({$lng['domains']['termination_date_overview']} {$row['termination_date']})</div></small>
</if>