mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-11 10:00:48 -05:00
26 lines
1.1 KiB
HTML
26 lines
1.1 KiB
HTML
<div class="row pt-3 pb-3 pb-md-2 align-items-center">
|
|
<div class="col-md text-truncate">
|
|
<h3 class="text-truncate" style="line-height: 1.4">
|
|
{{title}}
|
|
@if (subTitle) {
|
|
<span class="h6 mb-0 d-block d-md-inline fw-normal ms-md-3 text-truncate" style="line-height: 1.4">{{subTitle}}</span>
|
|
}
|
|
@if (info) {
|
|
<button class="btn btn-sm btn-link text-muted me-auto p-0 p-md-2" title="What's this?" i18n-title type="button" [ngbPopover]="infoPopover" [autoClose]="true">
|
|
<i-bs name="question-circle"></i-bs>
|
|
</button>
|
|
<ng-template #infoPopover>
|
|
<p [class.mb-0]="!infoLink" [innerHTML]="info"></p>
|
|
@if (infoLink) {
|
|
<a href="https://docs.paperless-ngx.com/{{infoLink}}" target="_blank" referrerpolicy="noopener noreferrer" i18n>Read more</a>
|
|
<i-bs class="ms-1" width=".8em" height=".8em" name="box-arrow-up-right"></i-bs>
|
|
}
|
|
</ng-template>
|
|
}
|
|
</h3>
|
|
</div>
|
|
<div class="btn-toolbar col col-md-auto gap-2">
|
|
<ng-content></ng-content>
|
|
</div>
|
|
</div>
|