50 lines
2.0 KiB
Plaintext
50 lines
2.0 KiB
Plaintext
|
|
.dialog.textMessage-overlay.ftue-overlay.tall{ layout: 'dialog', 'layout-id' => 'accept-friend-request', id: 'accept-friend-request-dialog'}
|
|
.content-head
|
|
= image_tag "content/icon_friend.png", {:width => 14, :height => 14, :class => 'content-icon' }
|
|
%h1
|
|
= 'friend request'
|
|
.dialog-inner
|
|
|
|
.right.action-buttons
|
|
%a.button-grey.btn-close-dialog{href:'#', 'layout-action' => 'close'} CLOSE
|
|
%a.button-grey.btn-cancel-dialog{href:'#', 'layout-action' => 'close'} CANCEL
|
|
%a.button-orange.btn-accept-friend-request{href:'#'} ACCEPT
|
|
|
|
%script{type: 'text/template', id: 'template-friend-request-not-friends'}
|
|
.dialog-content-scroller
|
|
%a{'user-id' => '{{data.user.id}}', hoveraction: '{{data.user.user_type}}', class: 'avatar-small'}
|
|
%img{src: '{{data.user.photo_url}}' }
|
|
%p.accept-friend-msg Become friends with {{data.user.name}} ?
|
|
{% if(data.message) { %}
|
|
.sender
|
|
%span.sender-name= '{{data.user.name}}'
|
|
%span.says says:
|
|
%div.sender-msg '{{data.message}}'
|
|
{% } %}
|
|
%br{clear:'all'}
|
|
%br{clear:'all'}
|
|
|
|
%script{type: 'text/template', id: 'template-friend-request-already-friends'}
|
|
.dialog-content-scroller
|
|
%a{'user-id' => '{{data.user.id}}', hoveraction: '{{data.user.user_type}}', class: 'avatar-small'}
|
|
%img{src: '{{data.user.photo_url}}' }
|
|
%p.accept-friend-msg You are already friends with {{data.user.name}}.
|
|
%br{clear:'all'}
|
|
%br{clear:'all'}
|
|
|
|
|
|
%script{type: 'text/template', id: 'template-friend-request-already-processed'}
|
|
.dialog-content-scroller
|
|
%a{'user-id' => '{{data.user.id}}', hoveraction: '{{data.user.user_type}}', class: 'avatar-small'}
|
|
%img{src: '{{data.user.photo_url}}' }
|
|
%p.accept-friend-msg This friend request from {{data.user.name}} is no longer valid.
|
|
%br{clear:'all'}
|
|
%br{clear:'all'}
|
|
|
|
%script{type: 'text/template', id: 'template-friend-generic-error'}
|
|
.dialog-content-scroller
|
|
%p.generic-error-msg {{data.error_message}}
|
|
%br{clear:'all'}
|
|
|