Add translation to required labels for install checks
- Remove unused checks loop in install_base template
This commit is contained in:
parent
65f74da45b
commit
a991f3dfcf
5 changed files with 32 additions and 29 deletions
|
@ -7,15 +7,6 @@
|
|||
{{$info_03}}
|
||||
</p>
|
||||
|
||||
<table>
|
||||
{{foreach $checks as $check}}
|
||||
<tr><td>{{$check.title}} </td><td>
|
||||
{{if ! $check.status}}
|
||||
<img src="{{$baseurl}}/view/install/red.png" alt="Requirement not satisfied">
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
</table>
|
||||
|
||||
<form id="install-form" action="{{$baseurl}}/install" method="post">
|
||||
|
||||
<input type="hidden" name="config-php_path" value="{{$php_path}}" />
|
||||
|
|
|
@ -6,20 +6,20 @@
|
|||
{{foreach $checks as $check}}
|
||||
<tr><td>{{$check.title nofilter}} </td><td>
|
||||
{{if $check.status}}
|
||||
<img src="{{$baseurl}}/view/install/green.png" alt="Ok">
|
||||
<img src="{{$baseurl}}/view/install/green.png" alt="{{$ok}}">
|
||||
{{else}}
|
||||
{{if $check.required}}
|
||||
<img src="{{$baseurl}}/view/install/red.png" alt="Requirement not satisfied">
|
||||
<img src="{{$baseurl}}/view/install/red.png" alt="{{$requirement_not_satisfied}}">
|
||||
{{else}}
|
||||
<img src="{{$baseurl}}/view/install/yellow.png" alt="Optional requirement not satisfied">
|
||||
<img src="{{$baseurl}}/view/install/yellow.png" alt="{{$optional_requirement_not_satisfied}}">
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</td><td>{{if $check.required}}(required){{/if}}</td></tr>
|
||||
</td><td>{{if $check.required}}{{$required}}{{/if}}</td></tr>
|
||||
{{if $check.help}}
|
||||
<tr><td class="help" colspan="3">
|
||||
<blockquote>{{$check.help nofilter}}</blockquote>
|
||||
{{if $check.error_msg}}
|
||||
<div class="error_header"><b>{{$check.error_msg.head}}</br><a href="{{$check.error_msg.url}}">{{$check.error_msg.url}}</a></b></div>
|
||||
<div class="error_header"><b>{{$check.error_msg.head}}<br><a href="{{$check.error_msg.url}}">{{$check.error_msg.url}}</a></b></div>
|
||||
<blockquote>{{$check.error_msg.msg}}</blockquote>
|
||||
{{/if}}
|
||||
</td></tr>
|
||||
|
|
|
@ -9,10 +9,13 @@
|
|||
|
||||
<table>
|
||||
{{foreach $checks as $check}}
|
||||
<tr><td>{{$check.title}} </td><td>
|
||||
<tr>
|
||||
<td>{{$check.title}} </td>
|
||||
<td>
|
||||
{{if ! $check.status}}
|
||||
<img src="{{$baseurl}}/view/install/red.png" alt="Requirement not satisfied">
|
||||
<img src="{{$baseurl}}/view/install/red.png" alt="{{$requirement_not_satisfied}}">
|
||||
{{/if}}
|
||||
</td>
|
||||
{{/foreach}}
|
||||
</table>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<h2>{{$pass}}</h2>
|
||||
|
||||
{{foreach $checks as $check}}
|
||||
<img src="{{$baseurl}}/view/install/red.png" alt="Requirement not satisfied">
|
||||
<img src="{{$baseurl}}/view/install/red.png" alt="{{$requirement_not_satisfied}}">
|
||||
{{$check.title nofilter}}
|
||||
<textarea rows="24" cols="80">{{$check.help nofilter}}</textarea>
|
||||
{{/foreach}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue