Displayed tags should link to search view for the tag
Story: 2000646 Task: 3092 Change-Id: Ie205c3027da8606c775ac6e672a447a5376ee710 Signed-off-by: Ankita Bansal <ankitabansal2798@gmail.com>
This commit is contained in:
parent
13984cb8de
commit
b472141717
|
@ -356,9 +356,12 @@
|
||||||
<li ng-repeat="tag in story.tags">
|
<li ng-repeat="tag in story.tags">
|
||||||
<h4>
|
<h4>
|
||||||
<span class="label label-warning">
|
<span class="label label-warning">
|
||||||
|
<a href="#!/story/list?tags={{tag}}" target="_blank" class="tag-label-link">
|
||||||
{{tag}}
|
{{tag}}
|
||||||
|
</a>
|
||||||
<i class="fa fa-times" ng-show="isLoggedIn"
|
<i class="fa fa-times" ng-show="isLoggedIn"
|
||||||
ng-click="removeTag(tag)"></i>
|
ng-click="removeTag(tag)">
|
||||||
|
</i>
|
||||||
</span>
|
</span>
|
||||||
</h4>
|
</h4>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -23,3 +23,20 @@
|
||||||
.position-label {
|
.position-label {
|
||||||
margin-left: 5px;
|
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;
|
||||||
|
}
|
Loading…
Reference in New Issue