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

Commit 3b2bcd6

Browse files
committed
deploying crowd for good changes
1 parent cb89d27 commit 3b2bcd6

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ styleguide
1212
.project
1313
.awspublish-app.topcoder-dev.com
1414
npm-debug.log
15+
*.swp

app/profile/badges/badges.controller.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ import moment from 'moment-timezone'
8282
if (typeof timezone_string === 'undefined') {
8383
var timezone_string = 'America/New_York' // lets set to TC timezone
8484
}
85-
return moment(date).tz(timezone_string).format('MMM DD,YYYY')
85+
return moment(date).tz(timezone_string).format('MMM DD, YYYY')
8686
}
8787

8888
// Construct the data 'currentlyEarned'.
@@ -649,6 +649,12 @@ import moment from 'moment-timezone'
649649
name : 'Designer of the Month',
650650
groupClass : 'Member-of-the-Month',
651651
active : false
652+
},
653+
{
654+
id: 1007,
655+
name: 'Crowd for Good',
656+
groupClass: 'Crowd-for-Good',
657+
active: false
652658
}
653659
]
654660
}

assets/css/directives/badge-tooltip.scss

+5-4
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@
1515
background: url(../../images/badge.grid.large.png);
1616
margin-bottom: 2px;
1717
margin-top: 2px;
18-
margin-left: 25px;
18+
margin-left: 12px;
19+
margin-right: 12px;
1920
float: left;
2021
}
21-
.singleBadge.leftMost {
22-
margin-left: 0px;
23-
}
2422

2523
.subBadge {
2624
height: 48px;
@@ -436,6 +434,9 @@
436434
.TopCoder-Spirit { background-position: -144px -336px; }
437435
.TopCoder-Mentor { background-position: -192px -336px; }
438436

437+
.Crowd-for-Good {
438+
background-position: 0px -672px;
439+
}
439440
.Wireframe {
440441
width: 31px;
441442
background-position: 0px -1009px !important;

assets/images/badge.grid.large.png

-185 KB
Loading

0 commit comments

Comments
 (0)