Permalink
Browse files

Show project name in title, if on project page

Conflicts:

	app/views/layouts/application.html.erb
  • Loading branch information...
1 parent 0a98243 commit 79edc72c66daa1c826a537c8ff4e227fb121ed7b @ndbroadbent ndbroadbent committed with malclocke May 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/layouts/application.html.erb
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html>
<head>
- <title><%= t('fulcrum') %></title>
- <%= csrf_meta_tags %>
+ <title><%= "#{@project.name} - " if @project %><%= t('fulcrum') %></title>
+ <%= csrf_meta_tag %>
<link rel="stylesheet" type="text/css" href="//ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/jquery-ui.css">
<%= stylesheet_link_tag :application %>
<%= stylesheet_link_tag "http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/jquery-ui.css" %>

0 comments on commit 79edc72

Please sign in to comment.