浏览代码

style(station card): Added unlisted icon

Owen Diffey 5 年之前
父节点
当前提交
34b34327c2
共有 1 个文件被更改,包括 11 次插入2 次删除
  1. 11 2
      frontend/components/pages/Home.vue

+ 11 - 2
frontend/components/pages/Home.vue

@@ -120,9 +120,15 @@
 								</p>
 								<div class="bottomIcons">
 									<i
-										v-if="station.privacy !== 'public'"
+										v-if="station.privacy === 'unlisted'"
+										class="unlistedIcon material-icons"
+										title="Unlisted Station"
+										>link</i
+									>
+									<i
+										v-if="station.privacy === 'private'"
 										class="privateIcon material-icons"
-										title="This station is not visible to other users."
+										title="Private Station"
 										>lock</i
 									>
 									<i
@@ -508,6 +514,9 @@ html {
 				.material-icons:first-child {
 					margin-left: 5px;
 				}
+				.unlistedIcon {
+					color: $light-orange;
+				}
 				.privateIcon {
 					color: $dark-pink;
 				}