Skip to content

Commit

Permalink
fixes #9923 - replaced Author column with Description in cv versions
Browse files Browse the repository at this point in the history
Description is now ellipsis.

Tried to use 'title' attribute but it is not formated well (center aligned instead of left aligned). Googling yielded several different suggestions for replacing the title but none worked. Chose instead to fix the details page for the version where the full descripion is now properly visible.
  • Loading branch information
thomasmckay committed Mar 30, 2015
1 parent d788800 commit 59acd64
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
Expand Up @@ -26,7 +26,7 @@
<th bst-table-column><span translate>Status</span></th>
<th bst-table-column><span translate>Environments</span></th>
<th bst-table-column><span translate>Content</span></th>
<th bst-table-column><span translate>Author</span></th>
<th bst-table-column><span translate>Description</span></th>
<th class="col-sm-2" bst-table-column><span translate>Actions</span></th>
</tr>
</thead>
Expand Down Expand Up @@ -75,7 +75,11 @@
</div>

</td>
<td bst-table-cell>{{ version.user }}</td>
<td bst-table-cell>
<div class="description">
{{ version.description }}
</div>
</td>
<td class="col-sm-2">
<button class="btn btn-default"
ui-sref="content-views.details.promotion({contentViewId: contentView.id, versionId: version.id})"
Expand Down
Expand Up @@ -7,7 +7,7 @@

<div class="detail">
<span class="info-label" translate>Description</span>
<span class="info-value">{{ version.description }}</span>
<span class="info-value" bst-edit-textarea="version.description" readonly="true"></span>
</div>

</div>
Expand Up @@ -4,6 +4,7 @@
@import "tasks";
@import "environments";
@import "errata";
@import "content-views";

.center-paragraph {
text-align: center;
Expand Down
@@ -0,0 +1,6 @@

.description {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

0 comments on commit 59acd64

Please sign in to comment.