Skip to content

Commit 76c35a7

Browse files
committed
Issues-476:Show Copilot/Reviewer roles and hide other challenge roles
1 parent c8afa8d commit 76c35a7

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

Topcoder/class.topcoder.plugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,6 +2125,7 @@ function userAnchor($user, $cssClass = null, $options = null) {
21252125
}
21262126

21272127
Gdn::controller()->EventArguments['User'] = $user;
2128+
Gdn::controller()->EventArguments['IsTopcoderAdmin'] =$isTopcoderAdmin;
21282129
Gdn::controller()->EventArguments['Text'] =& $text;
21292130
Gdn::controller()->EventArguments['Attributes'] =& $attributes;
21302131
Gdn::controller()->fireEvent('UserAnchor');

Topcoder/design/topcoder.css

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ a.coderRatingRed:hover, a.coderRatingYellow:hover, a.coderRatingBlue:hover, a.co
4242
text-decoration: none !important;
4343
}
4444
.coderRatingRed:hover, .coderRatingYellow:hover, .coderRatingBlue:hover, .coderRatingGreen:hover, .coderRatingGrey:hover, .coderRatingNone:hover, .topcoderAdmin:hover {
45-
text-decoration: underline !important;
45+
text-decoration: none !important;
4646
}
4747
.coderRatingRed:active, .coderRatingYellow:active, .coderRatingBlue:active, .coderRatingGreen:active, .coderRatingGrey:active, .coderRatingNone:active, .topcoderAdmin:active {
48-
text-decoration: underline !important;
48+
text-decoration: none !important;
4949
}
5050

5151
/* Red */
@@ -108,6 +108,18 @@ a.coderRatingRed:hover, a.coderRatingYellow:hover, a.coderRatingBlue:hover, a.co
108108
.Flyout.Flyout a.topcoderAdmin, .Flyout.Flyout a.topcoderAdmin:link,.Flyout.Flyout a.topcoderAdmin:visited, .Flyout.Flyout a.topcoderAdmin:hover, .Flyout.Flyout a.topcoderAdmin:active,
109109
.userContent p a.topcoderAdmin, .userContent p a.topcoderAdmin:link, .userContent p a.topcoderAdmin:visited, .userContent p a.topcoderAdmin:hover, .userContent p a.topcoderAdmin:active { color: #ff9900 !important; }
110110

111+
a:hover span.topcoderHandle{
112+
text-decoration: underline;
113+
}
114+
115+
a span.challengeRoles {
116+
color: black;
117+
}
118+
119+
a:hover span.challengeRoles {
120+
text-decoration: underline;
121+
}
122+
111123

112124
/* Search breadcrumbs css style */
113125
.Media-Location .Breadcrumbs {

0 commit comments

Comments
 (0)