DG MS; fixed destroy links for status messages, added link for requests on top nav
This commit is contained in:
parent
db1811eb61
commit
900f1080a2
3 changed files with 12 additions and 7 deletions
|
|
@ -2,8 +2,8 @@
|
|||
%html
|
||||
%head
|
||||
%title
|
||||
= "diaspora "
|
||||
= "- #{User.first.real_name}" if User.first
|
||||
= User.first.real_name if User.first
|
||||
= " | diaspora"
|
||||
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
|
||||
|
||||
= stylesheet_link_tag "blueprint/screen", :media => 'screen'
|
||||
|
|
@ -16,8 +16,8 @@
|
|||
= csrf_meta_tag
|
||||
= yield(:head)
|
||||
|
||||
|
||||
= javascript_include_tag 'satisfaction' , 'satisfaction-display'
|
||||
= javascript_include_tag 'satisfaction' , 'satisfaction-display'
|
||||
|
||||
%body
|
||||
%header
|
||||
.container
|
||||
|
|
@ -32,6 +32,8 @@
|
|||
- if user_signed_in?
|
||||
=User.first.real_name
|
||||
|
|
||||
= link_to "requests", person_requests_path
|
||||
|
|
||||
= link_to "logout", destroy_user_session_path
|
||||
- else
|
||||
= link_to "login", new_user_session_path
|
||||
|
|
|
|||
|
|
@ -1,2 +1,5 @@
|
|||
%li.message{:id => person_request.id}
|
||||
= person_request.inspect
|
||||
%li.message{:id => person_request.id, :class => "mine"}
|
||||
= person_request.url
|
||||
|
||||
.destroy_link
|
||||
= link_to 'Ignore', person_request_path(person_request), :confirm => 'Are you sure?', :method => :delete, :remote => true
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@
|
|||
|
||||
- if mine?(post)
|
||||
.destroy_link
|
||||
= link_to 'Delete', status_message_url(post), :confirm => 'Are you sure?', :method => :delete, :remote => true
|
||||
= link_to 'Delete', status_message_path(post), :confirm => 'Are you sure?', :method => :delete, :remote => true
|
||||
|
|
|
|||
Loading…
Reference in a new issue