Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 65e1ab6

Browse files
authored
Merge pull request #469 from gets0ul/tc-app_issue_980
Fix for issue topcoder-archive/appirio_tech-topcoder-app#980
2 parents daa1cb8 + b14c6fe commit 65e1ab6

File tree

2 files changed

+22
-16
lines changed

2 files changed

+22
-16
lines changed

src/js/app/challenge-details/index.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -409,14 +409,17 @@ <h1>Challenge Overview</h1>
409409

410410
<article id="platforms">
411411
<h1>Platforms</h1>
412-
<ul>
413-
<li ng-if="(hasPlatforms = CD.challenge.platforms && CD.challenge.platforms.length > 0)" ng-repeat="platform in CD.challenge.platforms" >
414-
<strong ng-bind="platform"></strong>
415-
</li>
416-
<li ng-if="!(hasPlatforms = CD.challenge.platforms && CD.challenge.platforms.length > 0)">
417-
<strong>Not Specified</strong>
418-
</li>
419-
</ul>
412+
<div class="technologyTags">
413+
<ul>
414+
<li ng-if="(hasPlatforms = CD.challenge.platforms && CD.challenge.platforms.length > 0)" ng-repeat="platform in CD.challenge.platforms" >
415+
<span>{{platform}}</span>
416+
</li>
417+
<li ng-if="!(hasPlatforms = CD.challenge.platforms && CD.challenge.platforms.length > 0)">
418+
<strong>Not Specified</strong>
419+
</li>
420+
</ul>
421+
<div class="clear"></div>
422+
</div>
420423
</article>
421424

422425
<article id="technologies">

wp/wp-content/themes/tcs-responsive/ng-page-challenge-details.php

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,17 @@ function tc_challenge_details_js() {
145145

146146
<article id="platforms">
147147
<h1>Platforms</h1>
148-
<ul>
149-
<li ng-if="(hasPlatforms = CD.challenge.platforms && CD.challenge.platforms.length > 0)" ng-repeat="platform in CD.challenge.platforms" >
150-
<strong ng-bind="platform"></strong>
151-
</li>
152-
<li ng-if="!(hasPlatforms = CD.challenge.platforms && CD.challenge.platforms.length > 0)">
153-
<strong>Not Specified</strong>
154-
</li>
155-
</ul>
148+
<div class="technologyTags">
149+
<ul>
150+
<li ng-if="(hasPlatforms = CD.challenge.platforms && CD.challenge.platforms.length > 0)" ng-repeat="platform in CD.challenge.platforms" >
151+
<span>{{platform}}</span>
152+
</li>
153+
<li ng-if="!(hasPlatforms = CD.challenge.platforms && CD.challenge.platforms.length > 0)">
154+
<strong>Not Specified</strong>
155+
</li>
156+
</ul>
157+
<div class="clear"></div>
158+
</div>
156159
</article>
157160

158161
<article id="technologies">

0 commit comments

Comments
 (0)