Skip to content

Commit 073643a

Browse files
author
Visnu Pitiyanuvath
committed
move registration is closed out of sign in box
1 parent c5d81c4 commit 073643a

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

public/stylesheets/application.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -248,12 +248,12 @@ aside#pullout {
248248
display: block;
249249
text-align: center; }
250250
aside#pullout .spots_left {
251-
color: #f6ffef;
251+
color: #999999;
252252
margin-top: 0.5em;
253253
font-size: small;
254254
text-align: center; }
255255
aside#pullout .spots_left a {
256-
color: #f6ffef;
256+
color: #999999;
257257
text-decoration: none; }
258258
aside#pullout .spots_left a:hover {
259259
text-decoration: underline; }

public/stylesheets/application.sass

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,12 +250,12 @@ aside#pullout
250250
:display block
251251
:text-align center
252252
.spots_left
253-
:color $white
253+
:color #999
254254
:margin-top 0.5em
255255
:font-size small
256256
:text-align center
257257
a
258-
:color $white
258+
:color #999
259259
:text-decoration none
260260
&:hover
261261
:text-decoration underline

views/layout.haml

+3-2
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,16 @@
6666
#current_person
6767
- if (!ctx.currentPerson)
6868
%a#signin{ href: '/login?return_to=' + ctx.req.url } Sign in
69-
.spots_left
70-
!= '(<a href="http://nodeknockout.posterous.com/registration-is-closed">registration is closed</a>)'
7169
- if (ctx.currentPerson)
7270
%a{ href: 'http://gravatar.com' }
7371
%img{ src: 'http://www.gravatar.com/avatar/' + ctx.currentPerson.emailHash + '?s=40&d=monsterid' }
7472
.info
7573
%a{ href: '/people/' + ctx.currentPerson.id() + '/edit' }= ctx.currentPerson.name || ctx.currentPerson.email
7674
%br
7775
%a{ href: '/logout' } Sign out
76+
- if (!ctx.currentPerson)
77+
.spots_left
78+
!= '(<a href="http://nodeknockout.posterous.com/registration-is-closed">registration is closed</a>)'
7879
#sponsors
7980
%p.joyent
8081
%a{ href: 'http://www.joyent.com/?utm_source=web&utm_medium=sponsorship&utm_campaign=nodeknockout' }

0 commit comments

Comments
 (0)