chore: sync module from working instance and add install guide

This commit is contained in:
Kelin Rescue Hub
2026-04-09 14:11:34 -04:00
parent 20adb1bd1e
commit 039c12233e
23 changed files with 4577 additions and 394 deletions

View File

@@ -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;">