View improvement for users that are not logged in or happen to hit control enter
This commit is contained in:
@ -15,7 +15,7 @@ block content
|
||||
script(src='/js/lib/codemirror/mode/javascript/javascript.js')
|
||||
script(src='/js/lib/jailed/jailed.js')
|
||||
script(src='/js/lib/bonfire/bonfireInit.js')
|
||||
script(src="https://cdn.jsdelivr.net/ramda/0.10.0/ramda.min.js")
|
||||
script(src='/js/lib/ramda/ramda.min.js')
|
||||
|
||||
|
||||
.row
|
||||
|
@ -55,9 +55,9 @@ block content
|
||||
span.ion-close-circled
|
||||
| Username not found
|
||||
|
||||
if (user)
|
||||
a.animated.fadeIn.btn.btn-lg.btn-primary.btn-block#next-courseware-button(name='_csrf', value=_csrf, ng-disabled='completedWithForm.$invalid && existingUser.length > 0') Go to my next challenge (ctrl + enter)
|
||||
|
||||
|
||||
- if (user.progressTimestamps.length > 2)
|
||||
a.animated.fadeIn.btn.btn-lg.btn-block.btn-twitter(target="_blank")
|
||||
i.fa.fa-twitter  
|
||||
|
@ -1,5 +1,6 @@
|
||||
h3
|
||||
ol#bonfireList
|
||||
script(src='/js/lib/ramda/ramda.min.js')
|
||||
script.
|
||||
var getLinkedName = function getLinkedName(name) {
|
||||
return name.toLowerCase().replace(/\s/g, '-');
|
||||
|
Reference in New Issue
Block a user