Stars should be next to the name of the entity

Story: 2004104
Task: 27511

Change-Id: Ic63871a16b069a0c8b34565cdf5e0e492d2ef31d
Signed-off-by: Ankita Bansal <ankitabansal2798@gmail.com>
This commit is contained in:
Ankita Bansal 2019-03-14 01:45:57 +05:30
parent 13984cb8de
commit b17ab3ec8a
6 changed files with 39 additions and 41 deletions

View File

@ -2,6 +2,13 @@
<a href="#!/project_group/{{projectGroup.name}}">
{{projectGroup.title | truncate: 97}}
</a>
<small ng-show="isLoggedIn">
<subscribe class="pull-left"
resource="project_group"
resource-id="projectGroup.id"
subscriptions="projectGroupSubscriptions">
</subscribe>
</small>
</td>
<td>
<a href ng-click="collapsed = !collapsed"
@ -50,12 +57,4 @@
Hide {{projectGroupItems.length}} projects...
</a>
</td>
<td>
<small ng-show="isLoggedIn">
<subscribe class="pull-right"
resource="project_group"
resource-id="projectGroup.id"
subscriptions="projectGroupSubscriptions">
</subscribe>
</small>
</td>
<td></td>

View File

@ -2,17 +2,16 @@
<a href="#!/project/{{project.name}}">
{{project.name | truncate: 97}}
</a>
<br/>
<span class="text-muted">
{{project.description | truncate: 97}}
</span>
</td>
<td>
<small ng-show="isLoggedIn">
<subscribe class="pull-right"
<subscribe
resource="project"
resource-id="project.id"
subscriptions="projectSubscriptions">
</subscribe>
</small>
<br/>
<span class="text-muted">
{{project.description | truncate: 97}}
</span>
</td>
<td></td>

View File

@ -2,6 +2,13 @@
<a href="#!/story/{{story.id}}">
{{story.id}}: {{story.title | truncate: 97}}
</a>
<small ng-show="isLoggedIn">
<subscribe
resource="story"
resource-id="story.id"
subscriptions="storySubscriptions">
</subscribe>
</small>
<br/>
<span class="text-muted">
{{story.description | truncate: 97}}
@ -18,12 +25,3 @@
<td class="text-right col-xs-1">
<story-status-label story="story"/>
</td>
<td class="text-right">
<small ng-show="isLoggedIn">
<subscribe class="pull-right"
resource="story"
resource-id="story.id"
subscriptions="storySubscriptions">
</subscribe>
</small>
</td>

View File

@ -10,7 +10,15 @@
<small class="text-muted"
resolve-story="task.story_id">
<a href="#!/story/{{story.id}}">
{{story.id}}: {{story.title}}</a>
{{story.id}}: {{story.title}}
</a>
<small ng-show="isLoggedIn">
<subscribe
resource="story"
resource-id="story.id"
subscriptions="storySubscriptions">
</subscribe>
</small>
</small>
</td>
<td>
@ -19,13 +27,3 @@
status="{{task.status}}"
></task-status-dropdown>
</td>
<td>
<small ng-show="isLoggedIn">
<subscribe class="pull-right"
resource="story"
resource-id="story.id"
subscriptions="storySubscriptions">
</subscribe>
</small>
</td>

View File

@ -1,13 +1,13 @@
<td>
<subscribe class="pull-right"
resource="worklist"
resource-id="worklist.id"
subscriptions="worklistSubscriptions">
</subscribe>
<p>
<a href="#!/worklist/{{worklist.id}}">
{{worklist.title}}
</a>
<subscribe
resource="worklist"
resource-id="worklist.id"
subscriptions="worklistSubscriptions">
</subscribe>
</p>
<small>
<span class="badge"

View File

@ -21,4 +21,8 @@
.indented {
padding: 0px 15px;
}
table subscribe{
margin: 2px;
}