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

Commit 397cd57

Browse files
committed
added extra link
1 parent e8798a6 commit 397cd57

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/directives/srm-tile/srm-tile.directive.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
a.division(href="https://community.{{DOMAIN}}/stat?c=round_stats&rd={{srm.rounds[0].id}}&dn=2")
3333
p.rank {{srm.result.divisionPlacement}}
3434
p.label #[span Division {{srm.result.division}}]
35-
.room
35+
a.room(href="https://community.{{DOMAIN}}/stat?c=coder_room_stats&cr={{userId}}&rd={{srm.rounds[0].id}}")
3636
p.rank #[span {{srm.result.roomPlacement}}]
3737
p.label #[span Room]
3838
p.placement Placement

app/directives/srm-tile/srm-tile.directive.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
srm: '=srm',
99
view: '=',
1010
showResults: '=',
11-
showFooter: '='
11+
showFooter: '=',
12+
userId: '='
1213
},
1314
controller: ['$scope', '$filter', 'CONSTANTS', 'SRMService',
1415
function($scope, $filter, CONSTANTS, SRMService) {

0 commit comments

Comments
 (0)