Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Show project name in title, if on project page

Conflicts:

	app/views/layouts/application.html.erb
  • Loading branch information...
commit 79edc72c66daa1c826a537c8ff4e227fb121ed7b 1 parent 0a98243
Nathan Broadbent authored May 09, 2012 malclocke committed May 09, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  app/views/layouts/application.html.erb
4  app/views/layouts/application.html.erb
... ...
@@ -1,8 +1,8 @@
1 1
 <!DOCTYPE html>
2 2
 <html>
3 3
 <head>
4  
-  <title><%= t('fulcrum') %></title>
5  
-  <%= csrf_meta_tags %>
  4
+  <title><%= "#{@project.name} - " if @project %><%= t('fulcrum') %></title>
  5
+  <%= csrf_meta_tag %>
6 6
   <link rel="stylesheet" type="text/css" href="//ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/jquery-ui.css">
7 7
   <%= stylesheet_link_tag :application %>
8 8
   <%= stylesheet_link_tag "http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/jquery-ui.css" %>

0 notes on commit 79edc72

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