Fix unapplied migrations display
This commit is contained in:
parent
eae506889e
commit
d651e3132f
@ -4160,7 +4160,7 @@
|
|||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
||||||
<context context-type="linenumber">134</context>
|
<context context-type="linenumber">124</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="595732867213154214" datatype="html">
|
<trans-unit id="595732867213154214" datatype="html">
|
||||||
@ -4492,39 +4492,32 @@
|
|||||||
<context context-type="linenumber">68</context>
|
<context context-type="linenumber">68</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="3589985563249032523" datatype="html">
|
|
||||||
<source>Pending Migrations:</source>
|
|
||||||
<context-group purpose="location">
|
|
||||||
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
|
||||||
<context context-type="linenumber">78</context>
|
|
||||||
</context-group>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6904866445262015585" datatype="html">
|
<trans-unit id="6904866445262015585" datatype="html">
|
||||||
<source>Tasks</source>
|
<source>Tasks</source>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
||||||
<context context-type="linenumber">95</context>
|
<context context-type="linenumber">85</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="1044837289640087179" datatype="html">
|
<trans-unit id="1044837289640087179" datatype="html">
|
||||||
<source>Redis URL</source>
|
<source>Redis URL</source>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
||||||
<context context-type="linenumber">99</context>
|
<context context-type="linenumber">89</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="6911698235105017958" datatype="html">
|
<trans-unit id="6911698235105017958" datatype="html">
|
||||||
<source>Redis Status</source>
|
<source>Redis Status</source>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
||||||
<context context-type="linenumber">101</context>
|
<context context-type="linenumber">91</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="5349496739889768589" datatype="html">
|
<trans-unit id="5349496739889768589" datatype="html">
|
||||||
<source>Celery Status</source>
|
<source>Celery Status</source>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
||||||
<context context-type="linenumber">110</context>
|
<context context-type="linenumber">100</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="6732151329960766506" datatype="html">
|
<trans-unit id="6732151329960766506" datatype="html">
|
||||||
|
@ -63,27 +63,17 @@
|
|||||||
<ng-container>{{status.database.migration_status.unapplied_migrations.length}} Pending</ng-container><i-bs name="exclamation-triangle-fill" class="text-warning ms-1" [ngbPopover]="migrationStatus" triggers="mouseenter:mouseleave"></i-bs>
|
<ng-container>{{status.database.migration_status.unapplied_migrations.length}} Pending</ng-container><i-bs name="exclamation-triangle-fill" class="text-warning ms-1" [ngbPopover]="migrationStatus" triggers="mouseenter:mouseleave"></i-bs>
|
||||||
}
|
}
|
||||||
<ng-template #migrationStatus>
|
<ng-template #migrationStatus>
|
||||||
<ng-container i18n>Latest Migration</ng-container>: {{status.database.migration_status.latest_migration}}<br/>
|
<h6><ng-container i18n>Latest Migration</ng-container>:</h6> <span class="font-monospace small">{{status.database.migration_status.latest_migration}}</span>
|
||||||
@if (status.database.migration_status.unapplied_migrations.length > 0) {
|
@if (status.database.migration_status.unapplied_migrations.length > 0) {
|
||||||
<ng-container i18n>Pending Migrations</ng-container>:
|
<h6 class="mt-3"><ng-container i18n>Pending Migrations</ng-container>:</h6>
|
||||||
<ul>
|
<ul>
|
||||||
@for (migration of status.database.migration_status.unapplied_migrations; track migration) {
|
@for (migration of status.database.migration_status.unapplied_migrations; track migration) {
|
||||||
<li>{{migration}}</li>
|
<li class="font-monospace small">{{migration}}</li>
|
||||||
}
|
}
|
||||||
</ul>
|
</ul>
|
||||||
}
|
}
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</dd>
|
</dd>
|
||||||
@if (status.database.migration_status.unapplied_migrations.length > 0) {
|
|
||||||
<dt i18n>Pending Migrations:</dt>
|
|
||||||
<dd>
|
|
||||||
<ul>
|
|
||||||
@for (migration of status.database.migration_status.unapplied_migrations; track migration) {
|
|
||||||
<li>{{migration}}</li>
|
|
||||||
}
|
|
||||||
</ul>
|
|
||||||
</dd>
|
|
||||||
}
|
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user