Change wording for project status (use "closed" instead of "inactive")
This commit is contained in:
@@ -50,10 +50,10 @@
|
||||
</li>
|
||||
<?php if ($project['is_active']): ?>
|
||||
<li>
|
||||
<?= $this->modal->confirmLink(t('Disable'), 'ProjectStatusController', 'confirmDisable', array('project_id' => $project['id'])) ?>
|
||||
<?= $this->modal->confirmLink(t('Close this project'), 'ProjectStatusController', 'confirmDisable', array('project_id' => $project['id'])) ?>
|
||||
<?php else: ?>
|
||||
<li>
|
||||
<?= $this->modal->confirmLink(t('Enable'), 'ProjectStatusController', 'confirmEnable', array('project_id' => $project['id'])) ?>
|
||||
<?= $this->modal->confirmLink(t('Open this project'), 'ProjectStatusController', 'confirmEnable', array('project_id' => $project['id'])) ?>
|
||||
<?php endif ?>
|
||||
</li>
|
||||
<?php if ($this->user->hasProjectAccess('ProjectStatusController', 'remove', $project['id'])): ?>
|
||||
|
||||
@@ -48,9 +48,9 @@
|
||||
</td>
|
||||
<td>
|
||||
<?php if ($project['is_active']): ?>
|
||||
<?= t('Active') ?>
|
||||
<?= t('Open') ?>
|
||||
<?php else: ?>
|
||||
<?= t('Inactive') ?>
|
||||
<?= t('Closed') ?>
|
||||
<?php endif ?>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div class="page-header">
|
||||
<h2><?= t('Project activation') ?></h2>
|
||||
<h2><?= t('Close a project') ?></h2>
|
||||
</div>
|
||||
|
||||
<div class="confirm">
|
||||
<p class="alert alert-info">
|
||||
<?= t('Do you really want to disable this project: "%s"?', $project['name']) ?>
|
||||
<?= t('Do you really want to close this project: "%s"?', $project['name']) ?>
|
||||
</p>
|
||||
|
||||
<?= $this->modal->confirmButtons(
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div class="page-header">
|
||||
<h2><?= t('Project activation') ?></h2>
|
||||
<h2><?= t('Reopen a project') ?></h2>
|
||||
</div>
|
||||
|
||||
<div class="confirm">
|
||||
<p class="alert alert-info">
|
||||
<?= t('Do you really want to enable this project: "%s"?', $project['name']) ?>
|
||||
<?= t('Do you really want to reopen this project: "%s"?', $project['name']) ?>
|
||||
</p>
|
||||
|
||||
<?= $this->modal->confirmButtons(
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<h2><?= t('Summary') ?></h2>
|
||||
</div>
|
||||
<ul class="panel">
|
||||
<li><strong><?= $project['is_active'] ? t('Active') : t('Inactive') ?></strong></li>
|
||||
<li><strong><?= $project['is_active'] ? t('This project is open') : t('This project is closed') ?></strong></li>
|
||||
|
||||
<?php if ($project['owner_id'] > 0): ?>
|
||||
<li><?= t('Project owner: ') ?><strong><?= $this->text->e($project['owner_name'] ?: $project['owner_username']) ?></strong></li>
|
||||
|
||||
Reference in New Issue
Block a user