瀏覽代碼

Add rss to profiles

Daniel Supernault 6 年之前
父節點
當前提交
4705e298f8
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      resources/assets/js/components/Profile.vue

+ 5 - 2
resources/assets/js/components/Profile.vue

@@ -17,8 +17,11 @@
 							<div class="username-bar pb-2 d-flex align-items-center">
 								<span class="font-weight-ultralight h1">{{profile.username}}</span>
 								<span class="pl-4" v-if="profile.is_admin">
-									<span class="btn btn-outline-danger font-weight-bold py-0">ADMIN</span>
+									<span class="btn btn-outline-secondary font-weight-bold py-0">ADMIN</span>
 								</span>
+								<span class="pl-4">
+									<a :href="'/users/'+profile.username+'.atom'" class="fas fa-rss fa-lg text-muted"></a>
+								</span>	
 								<span class="pl-4" v-if="owner">
 									<a class="fas fa-cog fa-lg text-muted" href="/settings/home"></a>
 								</span>
@@ -44,7 +47,7 @@
 										Followers
 									</a>
 								</div>
-								<div v-if="profileSettings.following.count" class="font-weight-light pr-5">
+								<div v-if="profileSettings.following.count" class="font-weight-light">
 									<a class="text-dark cursor-pointer" v-on:click="followingModal()">
 										<span class="font-weight-bold">{{profile.following_count}}</span>
 										Following