Skip to content
Browse files

Small template fixes

  • Loading branch information...
1 parent b3ea545 commit 81b8f91d730212244c758a3117a9feb34a88751f @spf13 committed Sep 14, 2013
Showing with 5 additions and 11 deletions.
  1. +1 −1 views/footer.haml
  2. +2 −2 views/index.haml
  3. +0 −4 views/layout.haml
  4. +2 −2 views/navbar.haml
  5. +0 −2 views/user_dashboard.haml
View
2 views/footer.haml
@@ -2,7 +2,7 @@
© Built by
%a{:href => 'http://spf13.com'} Steve Francia
|
- %a{:href => 'http://10gen.com'} 10gen
+ %a{:href => 'http://MongoDB.com'} MongoDB
%br
Icon provided by
%a{:href => 'http://findicons.com/pack/2283/upojenie'} Gert Jan
View
4 views/index.haml
@@ -3,8 +3,8 @@
.col-md-8
%h1 Welcome to Milieu
%img{:src => 'images/big_map.png'}
- %p Milieu is an open source ruby based MongoDB backed location check in app. It was first demonstrated at OSCON 2012 as a sample application for a tutorial on MongoDB.
- %p It uses Sinatra, Haml and MongoDB.
+ %p Milieu is an open source ruby based MongoDB backed location check in app.
+ %p It uses Sinatra, Haml, Bootstrap and MongoDB.
.col-md-4
.well
View
4 views/layout.haml
@@ -4,12 +4,8 @@
%title Milieu :: An open source location based app for friends
%meta{:name => "description", :content => ""}
%meta{:name => "author", :content => ""}
-
%link{ :href => "/bootstrap/css/bootstrap.min.css", :type => "text/css", :rel => "stylesheet" }
- / add body padding styles
%link{ :href => "/css/styles.css", :type => "text/css", :rel => "stylesheet" }
-
- / Le fav and touch icons
%link{ rel: "shortcut icon", href: "/favicon.ico"}
%body
View
4 views/navbar.haml
@@ -18,9 +18,9 @@
%div.navbar-header.navbar-right
%p.navbar-text
-if logged_in?
- %a{:href => "/user/" << @suser.email.to_s << "/dashboard"}
+ %a{:href => "/user/" << @suser.email.to_s << "/dashboard"}
%image{:height => 30, :width => 30, :src => "http://www.gravatar.com/avatar/" << @suser.email_hash.to_s << '.png' }
- #{@suser.email}
+ #{@suser.email}
-if @suser.admin
(Admin)
|
View
2 views/user_dashboard.haml
@@ -35,7 +35,5 @@
%td{valign: "top"}
%h2 Checkins
%image{:src => '' << gmap_multi_url(@venues, {:height => 600, :width => 800}) }
-
-else
redirect '/'
-

0 comments on commit 81b8f91

Please sign in to comment.
Something went wrong with that request. Please try again.