Skip to content
This repository has been archived by the owner on Jul 16, 2018. It is now read-only.

Commit

Permalink
Merge pull request #908 from gesa/1031283/related-footer-icon
Browse files Browse the repository at this point in the history
Fixes Bug 1031283 - Resources footers show wrong icons
  • Loading branch information
Aki committed Jul 24, 2014
2 parents ef8207d + 51cd909 commit 85d922f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/js/angular/controllers.js
Expand Up @@ -154,6 +154,7 @@ angular

function updateContentObject() {
$scope.content = $rootScope.content[$scope.tag];
$scope.relatedIcon = $rootScope.content[$scope.content.related].icon;
$scope.content.discover = prepContent('discover');
$scope.content.make = prepContent('make');
$scope.content.teach = prepContent('teach');
Expand Down
2 changes: 1 addition & 1 deletion public/views/competency.html
Expand Up @@ -180,7 +180,7 @@ <h3 class="text-primary" bind-unsafe-html="cta.title"></h3>
<div class="col-sm-10 col-sm-offset-2">
<h4>{{ 'You might also like' | i18n }}</h4>

<h1><span class="fa {{ content.icon }}"></span> {{ weblit.term(content.related) }}</h1>
<h1><span class="fa {{ relatedIcon }}"></span> {{ weblit.term(content.related) }}</h1>
<p class="lead">{{ weblit.description(content.related) }}</p>
</div>
</div>
Expand Down

0 comments on commit 85d922f

Please sign in to comment.