From 96278af065c94316112898cd1e586c80e96a64db Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Tue, 12 Mar 2013 15:09:39 +0100 Subject: [PATCH] small changes --- app/controllers/application_controller.rb | 2 +- app/views/layouts/menu.html.erb | 3 ++- app/views/pages/_form.html.erb | 2 +- app/views/pages/show.haml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index f7ac5a2..05be205 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -13,6 +13,6 @@ class ApplicationController < ActionController::Base end end def default_url_options - {locale: I18n.locale, host:"128.131.95.212"} + {locale: I18n.locale, host:"glonass.htu.tuwien.ac.at"} end end diff --git a/app/views/layouts/menu.html.erb b/app/views/layouts/menu.html.erb index 604e766..bc71698 100644 --- a/app/views/layouts/menu.html.erb +++ b/app/views/layouts/menu.html.erb @@ -6,7 +6,8 @@
  • <%= link_to I18n.t(:info,:scope=>'home' ) %>
  • <%= link_to I18n.t(:studien,:scope=>'home' ), studien_path %>
  • - +
  • <%= link_to "wiki intern", page_path(1) %> +
  • <% if user_signed_in? %>
  • Logged in as : <%= current_user.email %> diff --git a/app/views/pages/_form.html.erb b/app/views/pages/_form.html.erb index bcfa04b..5271781 100644 --- a/app/views/pages/_form.html.erb +++ b/app/views/pages/_form.html.erb @@ -2,7 +2,7 @@ <%= semantic_form_for @page do |f| %> <%= f.inputs do %> <%= f.input :name %> - <%= f.input :body, :as=>:text,:input_html=>{:style=>"width:100%"} %> + <%= f.input :body, :as=>:text,:input_html=>{:style=>"width:100%;font-familiy:Times New Roman;"} %> <%= f.input :change_comment %> <% end %> <%= tinymce %> diff --git a/app/views/pages/show.haml b/app/views/pages/show.haml index 60f3747..8769ca0 100644 --- a/app/views/pages/show.haml +++ b/app/views/pages/show.haml @@ -2,7 +2,7 @@ = breadcrumbs(@page) %h4 - = "Page name: #{@page.name}" + = "#{@page.name}" = link_to '(Edit)', edit_page_path(@page) = link_to '(Destroy)', @page, :remote => true, :confirm => 'Are you sure?', :method => :delete