forked from bofh/fetsite
@@ -28,7 +28,7 @@ class FetprofilesController < ApplicationController
|
|||||||
|
|
||||||
@toolbar_elements << {:hicon=>'icon-pencil', :text=> I18n.t('common.edit'),:path => edit_fetprofile_path(@fetprofile) } if can? :edit, @fetprofile
|
@toolbar_elements << {:hicon=>'icon-pencil', :text=> I18n.t('common.edit'),:path => edit_fetprofile_path(@fetprofile) } if can? :edit, @fetprofile
|
||||||
|
|
||||||
@toolbar_elements << {:hicon=>'icon-minus', :text => I18n.t('common.delete'), :method=>:delete, :confirm=>"Sure"}
|
@toolbar_elements << {:hicon=>'icon-minus', :text => I18n.t('common.delete'), :method=>:delete, :confirm=>"Sure"} if can? :destroy,@fetprofile
|
||||||
|
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ class GremienController < ApplicationController
|
|||||||
def verwalten
|
def verwalten
|
||||||
@gremien = Gremium.all
|
@gremien = Gremium.all
|
||||||
@gremientabs=Gremium.tabs
|
@gremientabs=Gremium.tabs
|
||||||
@toolbar_elements << {:text=>I18n.t('common.new'),:path=>new_gremium_path() ,:icon=>:plus} if can? :new, Gremium
|
@toolbar_elements << {:text=>I18n.t('gremium.new'),:path=>new_gremium_path() ,:icon=>:plus} if can? :new, Gremium
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html # index.html.erb
|
format.html # index.html.erb
|
||||||
format.json { render json: @gremien }
|
format.json { render json: @gremien }
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ class ThemengruppenController < ApplicationController
|
|||||||
@toolbar_elements = []
|
@toolbar_elements = []
|
||||||
@toolbar_elements << {:icon=>:plus, :hicon=>'icon-plus-sign', :text=>I18n.t('thema.add'), :path=>new_themengruppe_thema_path(@themengruppe)} if can? :new, Themengruppe
|
@toolbar_elements << {:icon=>:plus, :hicon=>'icon-plus-sign', :text=>I18n.t('thema.add'), :path=>new_themengruppe_thema_path(@themengruppe)} if can? :new, Themengruppe
|
||||||
@toolbar_elements << {:icon=>:pencil, :hicon=>'icon-pencil', :text=>I18n.t('themengruppe.edit'), :path=>edit_themengruppe_path(@themengruppe)} if can? :edit, @themengruppe
|
@toolbar_elements << {:icon=>:pencil, :hicon=>'icon-pencil', :text=>I18n.t('themengruppe.edit'), :path=>edit_themengruppe_path(@themengruppe)} if can? :edit, @themengruppe
|
||||||
@toolbar_elements << {:icon=>:pencil, :hicon=>'icon-pencil', :text=>I18n.t("themengruppe.verwalten"), :path=>themengruppe_verwalten_path(@themengruppe)} if can? :edit, @themengruppe
|
@toolbar_elements << {:icon=>:pencil, :hicon=>'icon-pencil', :text=>I18n.t("themengruppe.manage"), :path=>themengruppe_verwalten_path(@themengruppe)} if can? :edit, @themengruppe
|
||||||
@toolbar_elements << {:hicon=>'icon-remove-circle',:text=>I18n.t('themengruppe.remove'), :path=>themengruppe_path(@themengruppe), :method=>:delete,:confirm=>I18n.t('themengruppe.sure')} if can? :delete, @themengruppe
|
@toolbar_elements << {:hicon=>'icon-remove-circle',:text=>I18n.t('themengruppe.remove'), :path=>themengruppe_path(@themengruppe), :method=>:delete,:confirm=>I18n.t('themengruppe.sure')} if can? :delete, @themengruppe
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span12">
|
<div class="span12">
|
||||||
<%= link_to I18n.t('fetprofiles.new'), new_fetprofile_path %>
|
<%= link_to I18n.t('profile.new_profile'), new_fetprofile_path %>
|
||||||
</div>
|
</div>
|
||||||
</div></div>
|
</div></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
<br />
|
<br />
|
||||||
<%= render 'layouts/pretty_toolbar' %>
|
<%= render 'layouts/pretty_toolbar' %>
|
||||||
<%= link_to 'New Gremium', new_gremium_path %>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ de:
|
|||||||
notactive_members: "Pension"
|
notactive_members: "Pension"
|
||||||
new_profile: "Neues Profil anlegen"
|
new_profile: "Neues Profil anlegen"
|
||||||
gremium:
|
gremium:
|
||||||
|
new: "Neues Gremium"
|
||||||
filter:
|
filter:
|
||||||
berufung:
|
berufung:
|
||||||
title: "Berufungskommission"
|
title: "Berufungskommission"
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ de:
|
|||||||
edit: "Themengruppe bearbeiten"
|
edit: "Themengruppe bearbeiten"
|
||||||
remove: "Themengruppe löschen"
|
remove: "Themengruppe löschen"
|
||||||
sure: "Sicher, dass Sie diese Themengruppe löschen möchten?"
|
sure: "Sicher, dass Sie diese Themengruppe löschen möchten?"
|
||||||
|
manage: "Themengruppe verwalten"
|
||||||
thema:
|
thema:
|
||||||
add: "Thema hinzufügen"
|
add: "Thema hinzufügen"
|
||||||
edit: "Thema bearbeiten"
|
edit: "Thema bearbeiten"
|
||||||
|
|||||||
Reference in New Issue
Block a user