-<div *ngIf="contentData">
+<div *ngIf="contentData">
<tabset>
<tab i18n-heading
heading="Cluster Logs">
<div class="well">
- <div *ngIf="contentData.clog">
- <p *ngFor="let line of contentData.clog">
- {{ line.stamp }} {{ line.priority }}
- <span [ngStyle]="line">
- {{ line.message }}
- <br>
- </span>
- </p>
- </div>
+ <div *ngIf="contentData.clog">
+ <p *ngFor="let line of contentData.clog">
+ <span class="timestamp">{{ line.stamp }}</span>
+ <span class="priority {{ line.priority | logPriority }}">{{ line.priority }}</span>
+ <span class="message">{{ line.message }}</span>
+ </p>
+ </div>
+ <div *ngIf="contentData.clog.length === 0">
+ <p i18n>No entries found</p>
+ </div>
</div>
</tab>
<tab i18n-heading
heading="Audit Logs">
<div class="well">
- <div *ngIf="contentData.audit_log">
- <p *ngFor="let line of contentData.audit_log">
- {{ line.stamp }} {{ line.priority }}
- <span [ngStyle]="line">
- <span style="font-weight: bold;">
- {{ line.message }}
- </span>
- <br>
- </span>
- </p>
- </div>
+ <div *ngIf="contentData.audit_log">
+ <p *ngFor="let line of contentData.audit_log">
+ <span class="timestamp">{{ line.stamp }}</span>
+ <span class="priority {{ line.priority | logPriority }}">{{ line.priority }}</span>
+ <span class="message">{{ line.message }}</span>
+ </p>
+ </div>
+ <div *ngIf="contentData.audit_log.length === 0">
+ <p i18n>No entries found</p>
+ </div>
</div>
</tab>
</tabset>
<context context-type="sourcefile">app/ceph/cluster/hosts/hosts.component.html</context>
<context context-type="linenumber">3</context>
</context-group>
+ </trans-unit><trans-unit id="e6d57f36aa2bad303c8a8ee944b9bd7fae3c8c26" datatype="html">
+ <source>No entries found</source>
+ <context-group purpose="location">
+ <context context-type="sourcefile">app/ceph/cluster/logs/logs.component.html</context>
+ <context context-type="linenumber">14</context>
+ </context-group>
+ <context-group purpose="location">
+ <context context-type="sourcefile">app/ceph/cluster/logs/logs.component.html</context>
+ <context context-type="linenumber">30</context>
+ </context-group>
</trans-unit><trans-unit id="d556ab48a65722b400e497f61737f553ee0f89e2" datatype="html">
<source>Cluster Logs</source>
<context-group purpose="location">
<source>Audit Logs</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ceph/cluster/logs/logs.component.html</context>
- <context context-type="linenumber">19</context>
+ <context context-type="linenumber">20</context>
</context-group>
</trans-unit><trans-unit id="81b97b8ea996ad1e4f9fca8415021850214884b1" datatype="html">
<source>Status</source>