2020-04-26 07:25:54 -07:00
|
|
|
.card.inbox--panel
|
2020-04-25 10:45:53 -07:00
|
|
|
.card-header= t 'views.inbox.sidebar.questions.title'
|
2020-04-19 14:09:41 -07:00
|
|
|
.card-body
|
2015-06-06 15:24:27 -07:00
|
|
|
%button.btn.btn-block.btn-info{type: :button, id: 'ib-generate-question'}= t 'views.inbox.sidebar.questions.button'
|
2020-04-26 07:25:54 -07:00
|
|
|
.card.inbox--panel
|
2020-04-25 10:45:53 -07:00
|
|
|
.card-header= t 'views.inbox.sidebar.share.title'
|
2020-04-19 14:09:41 -07:00
|
|
|
.card-body
|
2015-02-07 17:54:57 -08:00
|
|
|
%a.btn.btn-block.btn-primary{target: '_blank', href: "https://twitter.com/intent/tweet?text=Ask%20me%20anything%21&url=#{show_user_profile_url(current_user.screen_name)}"}
|
2015-06-06 15:24:27 -07:00
|
|
|
%i.fa.fa-fw.fa-twitter
|
|
|
|
= raw t('views.inbox.sidebar.share.button', service: "Twitter")
|
2020-04-26 14:16:20 -07:00
|
|
|
%a.btn.btn-block.btn-primary{target: '_blank', href: "https://www.tumblr.com/share/link?url=#{show_user_profile_url(current_user.screen_name)}&name=Ask%20me%20anything%21"}
|
2015-06-06 15:24:27 -07:00
|
|
|
%i.fa.fa-fw.fa-tumblr
|
|
|
|
= raw t('views.inbox.sidebar.share.button', service: "Tumblr")
|
2020-04-26 07:25:54 -07:00
|
|
|
.card.inbox--panel
|
2020-04-25 10:45:53 -07:00
|
|
|
.card-header Show author
|
2020-04-19 14:09:41 -07:00
|
|
|
.card-body
|
2015-07-17 11:29:19 -07:00
|
|
|
%form#author_form
|
|
|
|
= bootstrap_form_tag url: inbox_path, method: :get do |f|
|
|
|
|
= f.text_field :author, value: params[:author], placeholder: "username", prepend: "@" , hide_label: true
|
2020-04-25 10:45:53 -07:00
|
|
|
= f.button "Show", name: nil, class: "btn btn-light btn-block btn-sm", id: "ib-author"
|
2020-04-26 07:25:54 -07:00
|
|
|
.card.warning--panel
|
2020-04-25 10:45:53 -07:00
|
|
|
.card-header= t 'views.inbox.sidebar.actions.title'
|
2020-04-19 14:09:41 -07:00
|
|
|
.card-body
|
2015-07-17 13:31:10 -07:00
|
|
|
%button.btn.btn-block.btn-danger{type: :button, id: @delete_id , disabled: (@disabled ? 'disabled' : nil), data: { ib_count: @inbox_count }}= t 'views.inbox.sidebar.actions.button'
|
2015-07-17 11:29:19 -07:00
|
|
|
|