File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 17
17
| <a :href =" '#/item/' + item.id" >{{item.descendants}} {{item.descendants | pluralize 'comment'}}</a >
18
18
</span >
19
19
</p >
20
+ <p class =" jobtext" v-show =" isJob" v-html =" item.text" ></p >
20
21
</div >
21
22
</template >
22
23
@@ -39,6 +40,9 @@ export default {
39
40
},
40
41
showDomain () {
41
42
return this .item .type === ' story'
43
+ },
44
+ isJob () {
45
+ return this .item .type === ' job'
42
46
}
43
47
}
44
48
}
@@ -69,4 +73,9 @@ export default {
69
73
color $gray
70
74
.subtext a :hover
71
75
text-decoration underline
76
+ .jobtext
77
+ color $gray
78
+ padding-top 5px
79
+ .jobtext p
80
+ margin 10px 0
72
81
</style >
Original file line number Diff line number Diff line change 13
13
:comment =" comment" >
14
14
</comment >
15
15
</ul >
16
- <p v-show =" !comments.length" >No comments yet.</p >
16
+ <p v-show =" !comments.length && item.type !== 'job' " >No comments yet.</p >
17
17
</div >
18
18
</template >
19
19
You can’t perform that action at this time.
0 commit comments