Merge "Displayed tags should link to search view for the tag"

This commit is contained in:
Zuul 2019-03-14 15:44:40 +00:00 committed by Gerrit Code Review
commit e86035cf65
2 changed files with 22 additions and 2 deletions

View File

@ -356,9 +356,12 @@
<li ng-repeat="tag in story.tags">
<h4>
<span class="label label-warning">
{{tag}}
<a href="#!/story/list?tags={{tag}}" target="_blank" class="tag-label-link">
{{tag}}
</a>
<i class="fa fa-times" ng-show="isLoggedIn"
ng-click="removeTag(tag)"></i>
ng-click="removeTag(tag)">
</i>
</span>
</h4>
</li>

View File

@ -23,3 +23,20 @@
.position-label {
margin-left: 5px;
}
/* "Story Detail" tags link style */
.tag-label-link {
text-decoration:none;
color:#ffffff;
}
.tag-label-link:hover{
text-decoration:none;
color:#ffffff;
}
.label .fa-times{
opacity:0.5;
}
.label .fa-times:hover{
cursor:pointer;
opacity:1;
}