forked from bofh/fetsite
small changes
This commit is contained in:
@@ -13,6 +13,6 @@ class ApplicationController < ActionController::Base
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
def default_url_options
|
def default_url_options
|
||||||
{locale: I18n.locale, host:"128.131.95.212"}
|
{locale: I18n.locale, host:"glonass.htu.tuwien.ac.at"}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
<li><%= link_to I18n.t(:info,:scope=>'home' ) %></li>
|
<li><%= link_to I18n.t(:info,:scope=>'home' ) %></li>
|
||||||
<li><%= link_to I18n.t(:studien,:scope=>'home' ), studien_path %>
|
<li><%= link_to I18n.t(:studien,:scope=>'home' ), studien_path %>
|
||||||
</li>
|
</li>
|
||||||
|
<li><%= link_to "wiki intern", page_path(1) %>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<% if user_signed_in? %>
|
<% if user_signed_in? %>
|
||||||
<li>Logged in as : <%= current_user.email %>
|
<li>Logged in as : <%= current_user.email %>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<%= semantic_form_for @page do |f| %>
|
<%= semantic_form_for @page do |f| %>
|
||||||
<%= f.inputs do %>
|
<%= f.inputs do %>
|
||||||
<%= f.input :name %>
|
<%= 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 %>
|
<%= f.input :change_comment %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= tinymce %>
|
<%= tinymce %>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
= breadcrumbs(@page)
|
= breadcrumbs(@page)
|
||||||
|
|
||||||
%h4
|
%h4
|
||||||
= "Page name: #{@page.name}"
|
= "#{@page.name}"
|
||||||
= link_to '(Edit)', edit_page_path(@page)
|
= link_to '(Edit)', edit_page_path(@page)
|
||||||
= link_to '(Destroy)', @page, :remote => true, :confirm => 'Are you sure?', :method => :delete
|
= link_to '(Destroy)', @page, :remote => true, :confirm => 'Are you sure?', :method => :delete
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user