forked from bofh/fetsite
facebookpublish,themen fixes
This commit is contained in:
12
app/views/home/admin.html.erb
Normal file
12
app/views/home/admin.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<p><%= link_to "Grant extra FB privileges", user_omniauth_authorize_path(:facebook,:params=>{scope:"manage_pages,publish_actions,email"}) %>
|
||||
</p>
|
||||
<p>
|
||||
<%= link_to "user", users_path %>
|
||||
</p>
|
||||
<p>
|
||||
<%= @fbu.to_yaml.to_s %>
|
||||
|
||||
<%= semantic_form_for :set_page, url: fb_set_default_publish_page_user_path(current_user), html:{method: :get} do |f| %>
|
||||
<%= f.input :page , :input_html => { :name => 'page' }%>
|
||||
<% end %>
|
||||
</p>
|
||||
@@ -3,7 +3,8 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<%= link_to "Adressliste", internlist_fetprofiles_path %>
|
||||
<%= link_to "Internes Nachschlagewerk" %>
|
||||
<%= link_to "Admin" , admin_home_index_path if current_user.has_role?(:fetadmin) %>
|
||||
|
||||
<ul class="unstyled linkbox-list">
|
||||
<li>
|
||||
<% @themengruppen.each do |themengruppe| %>
|
||||
@@ -14,7 +15,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<%= link_to "Users", users_path %>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<h2>Neuigkeiten</h2>
|
||||
@@ -28,4 +29,3 @@
|
||||
</div>
|
||||
|
||||
<h2></h2>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user