Skip to content

Commit

Permalink
SAK-31756 use FA for visual indicator of non-normal assignments (saka…
Browse files Browse the repository at this point in the history
  • Loading branch information
ottenhoff authored Oct 24, 2016
1 parent 56fbbb0 commit 7e5271d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 25 deletions.
15 changes: 0 additions & 15 deletions assignment/assignment-tool/tool/src/webapp/css/assignment.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,6 @@ a.toggleAnchor > h4 {
.highLightBlock{
background:#eee;
}
.group_icon {
padding: 0 16px 0 6px;
white-space: nowrap;
background: url(/library/image/silk/group.png) center no-repeat;
}
.user_icon {
padding: 0 16px 0 6px;
white-space: nowrap;
background: url(/library/image/silk/user.png) center no-repeat;
}
.section_icon {
padding: 0 16px 0 6px;
white-space: nowrap;
background: url(/library/image/silk/group_key.png) center no-repeat;
}

.popupMessage{
background-color: #ffffcb !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,13 @@

#macro( assignmentTitleIcon $assignment )
#if ($!assignment.isGroup() )
<span class="group_icon" title="$tlang.getString('gen.groupassignment')" alt="$tlang.getString('gen.groupassignment')"></span>
#else
<span class="user_icon" title="$tlang.getString('gen.userassignment')" alt="$tlang.getString('gen.userassignment')"></span>
<i class="fa fa-users" aria-hidden="true" title="$tlang.getString('gen.groupassignment')"></i>
#end
#end

#macro( sectionIcon $group )
#if ($!group.getProperties().get("sections_category"))
<span class="section_icon" title="$tlang.getString('gen.section.info')" alt="$tlang.getString('gen.section.info')"></span>
<i class="fa fa-users" aria-hidden="true" title="$tlang.getString('gen.section.info')"></i>
#end
#end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@
$validator.escapeHtml($assignment.getTitle())
<small>
#if ($!assignment.isGroup() )
<span class="group_icon" title="$tlang.getString('gen.groupassignment')" alt="$tlang.getString('gen.groupassignment')"></span>
#else
<span class="user_icon" title="$tlang.getString('gen.userassignment')" alt="$tlang.getString('gen.userassignment')"></span>
<i class="fa fa-users" aria-hidden="true" title="$tlang.getString('gen.groupassignment')"></i>
#end
- $tlang.getString('gen.subm2')
</small>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
</th>
<td>
#if ($!assignment.isGroup() )
<span class="group_icon" title="$tlang.getString('gen.groupassignment')" alt="$tlang.getString('gen.groupassignment')"></span>
#else
<span class="user_icon" title="$tlang.getString('gen.userassignment')" alt="$tlang.getString('gen.userassignment')"></span>
<i class="fa fa-users" aria-hidden="true" title="$tlang.getString('gen.groupassignment')"></i>
#end
$validator.escapeHtml($assignment.getTitle())
#set ($deleted = false)
Expand Down

0 comments on commit 7e5271d

Please sign in to comment.