File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
angular-primeng-app/src/app/components/post-details Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,19 @@ <h1 class="title">{{ post.title }}</h1>
7
7
< div class ="author-info ">
8
8
@if (isTeam) {
9
9
< p-avatarGroup styleClass ="mb-3 " >
10
+ < a href ="https://hashnode.com/@{{post.author.username}} " target ="_blank ">
10
11
< p-avatar [image] ="post.author.profilePicture " size ="large " shape ="circle " title ="{{ post.author.username}} "> </ p-avatar >
12
+ </ a >
11
13
@for (coAuthor of post.coAuthors; track coAuthor.username) {
12
- < p-avatar [image] ="coAuthor.profilePicture " size ="large " shape ="circle " title ="{{ coAuthor.username}} "> </ p-avatar >
14
+ < a href ="https://hashnode.com/@{{coAuthor.username}} " target ="_blank ">
15
+ < p-avatar [image] ="coAuthor.profilePicture " size ="large " shape ="circle " title ="{{coAuthor.username}} "> </ p-avatar >
16
+ </ a >
13
17
}
14
18
</ p-avatarGroup >
15
19
} @else {
20
+ < a href ="https://hashnode.com/@{{post.author.username}} " target ="_blank ">
16
21
< p-avatar [image] ="post.author.profilePicture " size ="large " shape ="circle " title ="{{ post.author.username}} "> </ p-avatar >
22
+ </ a >
17
23
}
18
24
< div class ="author-text ">
19
25
< span class ="author-name "> {{post.author.name}} {{isTeam && post.coAuthors.length > 0 ? 'with ' + post.coAuthors.length + ' co-author' + (post.coAuthors.length > 1 ? 's' : '') : ''}}</ span >
You can’t perform that action at this time.
0 commit comments