Skip to content

Commit 5909b21

Browse files
authored
Add h1 with Install %Appname (hestiacp#3061)
1 parent 70abd4f commit 5909b21

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

web/src/app/WebApp/AppWizard.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ public function getOptions()
7474
return $options;
7575
}
7676

77+
public function info(){
78+
return $this -> appsetup -> info();
79+
}
80+
7781
public function filterOptions(array $options)
7882
{
7983
$filteredoptions = [];

web/templates/pages/setup_webapp.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<input type="hidden" name="ok" value="true">
2929

3030
<div class="form-container">
31+
<h1 class="form-title"><?=sprintf(_('Install %s'),$WebappInstaller -> info()['name'])?></h1>
3132
<?php if( !$WebappInstaller->isDomainRootClean()): ?>
3233
<div class="alert alert-info alert-with-icon u-max-width400" role="alert">
3334
<i class="fas fa-info"></i>

0 commit comments

Comments
 (0)