added link to user page in profile and no statuses found notification

This commit is contained in:
Nicolas Constant 2018-11-02 00:02:49 -04:00
parent 6628bd5e6f
commit c928fe9acb
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
2 changed files with 12 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<!-- <img class="profile-header__header" src="{{account.header}}" alt="header" /> -->
<img class="profile-header__avatar" src="{{account.avatar}}" alt="header" />
<h2 class="profile-header__display-name">{{account.display_name}}</h2>
<h2 class="profile-header__fullhandle">@{{account.acct}}</h2>
<h2 class="profile-header__fullhandle"><a href="{{account.url}}" target="_blank">@{{account.acct}}</a></h2>
</div>
</div>
<div *ngIf="account && hasNote" class="profile-description">
@ -17,6 +17,10 @@
<div class="profile-statuses">
<app-waiting-animation *ngIf="statusLoading" class="waiting-icon"></app-waiting-animation>
<div *ngIf="!isLoading && !statusLoading && statuses.length == 0" class="profile-no-toots">
no toots found
</div>
<div *ngFor="let statusWrapper of statuses">
<app-status [statusWrapper]="statusWrapper" (browseAccount)="accountSelected($event)"></app-status>
</div>

View File

@ -29,7 +29,7 @@
left: 15px;
color: white;
}
&__fullhandle {
&__fullhandle a {
position: absolute;
top: 130px;
left: 15px;
@ -42,4 +42,10 @@
font-size: 13px;
border-bottom: 1px solid black;
}
&-no-toots {
text-align: center;
margin: 15px;
border: 2px solid whitesmoke;
}
}