Skip to content

Commit 8e947cc

Browse files
author
Kristan Kenney
committed
Add view option to preview features
1 parent cb45c67 commit 8e947cc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

web/templates/pages/edit_server.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
<?php } ?>
198198
<tr>
199199
<td>
200-
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_experimental_features" <?php if ((isset($_SESSION['POLICY_SYSTEM_ENABLE_BACON'])) && (!empty($_SESSION['POLICY_SYSTEM_ENABLE_BACON'])) && ($_SESSION['POLICY_SYSTEM_ENABLE_BACON'] == "true")) echo "checked=yes" ?>><?php print _('Enable preview features');?></label>
200+
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_experimental_features" <?php if ((isset($_SESSION['POLICY_SYSTEM_ENABLE_BACON'])) && (!empty($_SESSION['POLICY_SYSTEM_ENABLE_BACON'])) && ($_SESSION['POLICY_SYSTEM_ENABLE_BACON'] == "true")) echo "checked=yes" ?>><?php print _('Enable preview features');?></label> <span class="hint">(<a href="/list/server/preview/"><?=_('View');?></a>)</span>
201201
</td>
202202
</tr>
203203
<tr>

web/templates/pages/list_server_preview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="l-center">
22
<div class="l-sort clearfix noselect">
33
<div class="l-unit-toolbar__buttonstrip">
4-
<a href="/list/server/" id="btn-back" class="ui-button cancel" dir="ltr"><i class="fas fa-arrow-left status-icon blue"></i><?=_('Back')?></a>
4+
<a href="/edit/server/" id="btn-back" class="ui-button cancel" dir="ltr"><i class="fas fa-arrow-left status-icon blue"></i><?=_('Back')?></a>
55
</div>
66
<div class="l-unit-toolbar__buttonstrip float-right">
77
</div>
@@ -28,7 +28,7 @@
2828
<i class="fas fa-database status-icon blue"></i>
2929
</div>
3030
<div class="clearfix l-unit__stat-col--left"><b><?=_('Databases');?></b></div>
31-
<div class="clearfix l-unit__stat-col--left wide-6"><b>phpMyAdmin Single Sign On</b></div>
31+
<div class="clearfix l-unit__stat-col--left wide-6"><b><?=_('phpMyAdmin Single Sign On'); ?></b></div>
3232
<div class="clearfix l-unit__stat-col--left wide-2">In final development stages.</div>
3333
</div>
3434
</div>
@@ -38,7 +38,7 @@
3838
<i class="fas fa-cog status-icon blue"></i>
3939
</div>
4040
<div class="clearfix l-unit__stat-col--left"><b><?=_('System');?></b></div>
41-
<div class="clearfix l-unit__stat-col--left wide-6"><b>Policy: Allow suspended users to log in with read-only access</b></div>
41+
<div class="clearfix l-unit__stat-col--left wide-6"><b><?=_('Policy'); ?>: <?=_('Allow suspended users to log in with read-only access'); ?></b></div>
4242
<div class="clearfix l-unit__stat-col--left wide-2">Partially implemented.</div>
4343
</div>
4444
</div>

0 commit comments

Comments
 (0)