Merge pull request #4030 from FinnStutzenstein/style_fixes

Fixed style issues introduced with #4025
This commit is contained in:
Finn Stutzenstein 2018-11-22 10:19:34 +01:00 committed by GitHub
commit f91c756b14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@
"singleQuote": true,
"useTabs": false,
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "strict",
"htmlWhitespaceSensitivity": "css",
"semi": true,
"trailingComma": "none",
"arrowParens": "avoid"

View File

@ -25,19 +25,21 @@
<div *ngIf="topic" class="topic-container on-transition-fade">
<div class="topic-title">
<h2 *ngIf="!editTopic">{{ topic.title }}</h2> <h2 *ngIf="editTopic">{{ topicForm.get('title').value }}</h2>
<h2 *ngIf="!editTopic">{{ topic.title }}</h2>
<h2 *ngIf="editTopic">{{ topicForm.get('title').value }}</h2>
</div>
<mat-card *ngIf="topic || editTopic" class="topic-text">
<div>
<span *ngIf="!editTopic">
{{ topic.text }} <div *ngIf="topic.text === ''" class="missing" translate>No description provided.</div>
{{ topic.text }}
<div *ngIf="topic.text === ''" class="missing" translate>No description provided.</div>
</span>
</div>
<div *ngIf="topic.attachments && topic.attachments.length > 0">
<h3>
<span translate>Attachments</span> <span>:</span>
<span translate>Attachments</span>:
<!-- TODO: Mediafiles and attachments are not fully implemented -->
</h3>
</div>
@ -56,13 +58,11 @@
<mat-error *ngIf="topicForm.invalid" translate>A name is required</mat-error>
</mat-form-field>
</div>
<div>
<mat-form-field>
<textarea matInput formControlName="text" placeholder="{{ 'Description ' | translate }}"></textarea>
</mat-form-field>
</div>
<!-- TODO: Select Mediafiles as attachments here -->
</form>
</mat-card>