File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -432,3 +432,8 @@ md-select .md-select-value span:first-child:after {
432
432
}
433
433
}
434
434
435
+ .github-icon-link {
436
+ margin-right : 10px ;
437
+ display : inline-block ;
438
+ vertical-align : middle ;
439
+ }
Original file line number Diff line number Diff line change @@ -93,6 +93,12 @@ <h4 class="challenge-step-title w-300">{{challenge.page.title}}
93
93
</ div >
94
94
</ div >
95
95
< div class ="col m2 l2 fs-16 w-300 center ">
96
+ < a ng-if ="(challenge.isChallengeHost ) && challenge.page.github_repository "
97
+ ng-href ="{{ 'https://github.com/' + challenge.page.github_repository }} "
98
+ target ="_blank "
99
+ class ="github-icon-link ">
100
+ < i class ="fa fa-github fa-2x black-text " aria-hidden ="true "> </ i >
101
+ </ a >
96
102
< button class ="waves-effect waves-dark btn ev-btn-dark w-300 fs-14 " type ="submit "
97
103
ng-click ="challenge.starChallenge() " ng-init ="challenge.isStarred() "> < i class ="fa fa-star star "> </ i >
98
104
{{challenge.data}} {{challenge.count}}</ button >
You can’t perform that action at this time.
0 commit comments