chore: sync module from working instance and add install guide
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
use humhub\modules\animal_management\models\forms\DisplaySettingsForm;
|
||||
use humhub\modules\animal_management\models\forms\FieldDefinitionSettingsForm;
|
||||
use humhub\modules\space\models\Space;
|
||||
use humhub\widgets\Button;
|
||||
use yii\bootstrap\ActiveForm;
|
||||
use yii\helpers\Html;
|
||||
@@ -10,6 +11,7 @@ use yii\helpers\Html;
|
||||
/* @var int $animalCount */
|
||||
/* @var FieldDefinitionSettingsForm $fieldSettingsForm */
|
||||
/* @var DisplaySettingsForm $displaySettingsForm */
|
||||
/* @var Space $space */
|
||||
?>
|
||||
|
||||
<div class="panel panel-default">
|
||||
@@ -20,6 +22,25 @@ use yii\helpers\Html;
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="panel-body">
|
||||
<div class="well well-sm" style="margin-bottom:14px;">
|
||||
<div style="font-weight:700;margin-bottom:6px;"><?= Yii::t('AnimalManagementModule.base', 'Module Setup') ?></div>
|
||||
<div style="margin-bottom:8px;">
|
||||
<?= Yii::t('AnimalManagementModule.base', 'Animal Management provides intake, profile tracking, medical/progress records, transfers, and related feed integrations for this rescue space.') ?>
|
||||
</div>
|
||||
<div style="margin-bottom:10px;">
|
||||
<?= Yii::t('AnimalManagementModule.base', 'Run setup to apply pending Animal Management migrations and initialize default module settings for this space.') ?>
|
||||
</div>
|
||||
<?= Html::a(
|
||||
Yii::t('AnimalManagementModule.base', 'Run Animal Management Setup'),
|
||||
$space->createUrl('/animal_management/settings/setup'),
|
||||
[
|
||||
'class' => 'btn btn-primary btn-sm',
|
||||
'data-method' => 'post',
|
||||
'data-confirm' => Yii::t('AnimalManagementModule.base', 'Run Animal Management setup now for this space?'),
|
||||
]
|
||||
) ?>
|
||||
</div>
|
||||
|
||||
<p><?= Yii::t('AnimalManagementModule.base', 'Configure intake/profile field definitions used by Animal Management.') ?></p>
|
||||
|
||||
<div class="well well-sm" style="margin-bottom:12px;">
|
||||
|
||||
Reference in New Issue
Block a user