add pagetitles
This commit is contained in:
parent
3d5bb16a8f
commit
d08692340c
|
@ -1,3 +1,3 @@
|
|||
- provide(:title, "#{@answer.user.display_name.blank? ? "@#{@answer.user.screen_name}'s" : "#{@answer.user.display_name}'s"} answer | #{APP_CONFIG['site_name']}")
|
||||
.container.j2-page
|
||||
= render 'shared/answerbox', a: @answer
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Resend confirmation instructions | #{APP_CONFIG['site_name']}")
|
||||
.container
|
||||
%h1 Resend confirmation instructions
|
||||
= bootstrap_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Change your password | #{APP_CONFIG['site_name']}")
|
||||
.container
|
||||
%h1 Change your password
|
||||
= bootstrap_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Forgot your password? | #{APP_CONFIG['site_name']}")
|
||||
.container
|
||||
%h1 Forgot your password?
|
||||
= bootstrap_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Sign up | #{APP_CONFIG['site_name']}")
|
||||
.container
|
||||
%h1 Sign up
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Sign in | #{APP_CONFIG['site_name']}")
|
||||
.container
|
||||
%h1 Sign in
|
||||
= render 'layouts/messages'
|
||||
|
@ -9,7 +10,7 @@
|
|||
|
||||
- if devise_mapping.rememberable?
|
||||
= f.check_box :remember_me
|
||||
|
||||
|
||||
= f.submit "Sign in"
|
||||
|
||||
= render "devise/shared/links"
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
- provide(:title, "Unlock | #{APP_CONFIG['site_name']}")
|
||||
.container
|
||||
%h1 Resend unlock instructions
|
||||
= render 'layouts/messages'
|
||||
|
||||
= bootstrap_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f|
|
||||
= devise_error_messages!
|
||||
|
||||
|
||||
= f.email_field :email, autofocus: true, label: "Email address"
|
||||
|
||||
|
||||
= f.submit "Resend unlock instructions"
|
||||
|
||||
|
||||
= render "devise/shared/links"
|
||||
= render "shared/links"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "#{@group.display_name} | #{APP_CONFIG['site_name']}")
|
||||
= render 'static/mobile_nav'
|
||||
.container.j2-page
|
||||
.col-md-3.col-sm-3
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Inbox | #{APP_CONFIG['site_name']}")
|
||||
.container.j2-page
|
||||
.row
|
||||
.col-md-3.col-xs-12.col-sm-3.hidden-xs
|
||||
|
@ -21,4 +22,4 @@
|
|||
= render 'inbox/sidebar'
|
||||
|
||||
= render "shared/links"
|
||||
- @inbox.update_all(new: false)
|
||||
- @inbox.update_all(new: false)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
%link{rel: 'icon', href: '/images/favicon/favicon-16.png', sizes: '16x16'}
|
||||
%link{rel: 'icon', href: '/icon-152.png', sizes: '152x152'}
|
||||
%link{rel: 'icon', href: '/images/favicon/favicon-32.png', sizes: '32x32'}
|
||||
%title= APP_CONFIG['site_name']
|
||||
%title= yield(:title)
|
||||
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
||||
= javascript_include_tag 'application', 'data-turbolinks-track' => true
|
||||
- if user_signed_in?
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Moderation | #{APP_CONFIG['site_name']}")
|
||||
= render 'moderation/moderation_nav'
|
||||
.container.j2-page
|
||||
.row
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Notifications | #{APP_CONFIG['site_name']}")
|
||||
= render 'notifications/notification_nav'
|
||||
.container.j2-page
|
||||
= render 'notification_tabs'
|
||||
|
@ -12,4 +13,4 @@
|
|||
- if @notifications.next_page
|
||||
%button#load-more-btn.btn.btn-default{type: :button, data: { current_page: @notifications.current_page }}
|
||||
Load more
|
||||
- Notification.for(current_user).update_all(new: false)
|
||||
- Notification.for(current_user).update_all(new: false)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Public Timeline | #{APP_CONFIG['site_name']}")
|
||||
= render 'static/mobile_nav'
|
||||
.container.j2-page
|
||||
.col-md-3.col-sm-3
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "#{@question.user.display_name.blank? ? "@#{@question.user.screen_name}'s" : "#{@question.user.display_name}'s"} question | #{APP_CONFIG['site_name']}")
|
||||
.panel.panel-question
|
||||
.container
|
||||
.panel-body
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Service Settings | #{APP_CONFIG['site_name']}")
|
||||
.container.j2-page
|
||||
= render 'user/settings_tabs'
|
||||
.col-md-9.col-xs-12.col-sm-9
|
||||
|
@ -20,4 +21,4 @@
|
|||
%i{class: "fa fa-#{service.provider}"}
|
||||
%strong= service.provider.capitalize
|
||||
(#{service.nickname})
|
||||
= link_to 'Disconnect', service_path(service), data: { confirm: "Really disconnect service #{service.provider.capitalize}?" }, method: :delete
|
||||
= link_to 'Disconnect', service_path(service), data: { confirm: "Really disconnect service #{service.provider.capitalize}?" }, method: :delete
|
||||
|
|
|
@ -29,4 +29,4 @@
|
|||
Sharing to other networks
|
||||
%p
|
||||
Want to share your answer to a question so that more people read it? With a simple click on the answer button, your answer is shared wherever you want!
|
||||
= render "shared/links"
|
||||
= render "shared/links"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "About | #{APP_CONFIG['site_name']}")
|
||||
.jumbotron.j2-jumbo.text-center
|
||||
%h1= APP_CONFIG['site_name']
|
||||
%p About our service, features and other information
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Frequently Asked Questions | #{APP_CONFIG['site_name']}")
|
||||
.container
|
||||
%h1.text-center Frequently Asked Questions
|
||||
|
||||
|
@ -122,7 +123,5 @@
|
|||
Yep! #{APP_CONFIG['site_name']} runs
|
||||
= succeed ',' do
|
||||
%a{href: 'https://github.com/nilsding/justask'} justask
|
||||
an open source (AGPLv3) question and answer platform. If you want to contribute or report bugs you find in #{APP_CONFIG['site_name']}, please look at our
|
||||
an open source (AGPLv3) question and answer platform. If you want to contribute or report bugs you find in #{APP_CONFIG['site_name']}, please look at our
|
||||
= link_to "Github repository!", "https://github.com/retrospring/retrospring"
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "#{APP_CONFIG['site_name']}")
|
||||
- if user_signed_in?
|
||||
= render 'static/mobile_nav'
|
||||
.container.j2-page
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Privacy Policy | #{APP_CONFIG['site_name']}")
|
||||
.container
|
||||
.panel.panel-default
|
||||
.panel-body
|
||||
|
@ -24,4 +25,4 @@
|
|||
%h2 Our Policy Towards Children
|
||||
%p Our Services are not directed to persons under 14. If you become aware that your child has provided us with personal information without your consent, contact us on privacy@retrospring.net . We do not knowingly collect personal information from children under 14. If we become aware that a child under 14 has provided us with personal information, we take steps to remove such information and terminate the child's account.
|
||||
%p
|
||||
%em Effective: 16th February 2015
|
||||
%em Effective: 16th February 2015
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Terms of Service | #{APP_CONFIG['site_name']}")
|
||||
.container
|
||||
.panel.panel-default
|
||||
.panel-body
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Account Settings | #{APP_CONFIG['site_name']}")
|
||||
.container.j2-page
|
||||
= render 'user/settings_tabs'
|
||||
.col-md-9.col-xs-12.col-sm-9
|
||||
|
@ -42,4 +43,4 @@
|
|||
|
||||
= link_to "Back", :back
|
||||
|
||||
.visible-xs= render "shared/links"
|
||||
.visible-xs= render "shared/links"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Profile Settings | #{APP_CONFIG['site_name']}")
|
||||
.container.j2-page
|
||||
= render 'settings_tabs'
|
||||
.col-md-9.col-xs-12.col-sm-9
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "Privacy Settings | #{APP_CONFIG['site_name']}")
|
||||
.container.j2-page
|
||||
= render 'settings_tabs'
|
||||
.col-md-9.col-xs-12.col-sm-9
|
||||
|
@ -10,4 +11,4 @@
|
|||
= f.check_box :privacy_allow_public_timeline, label: "Show your answers in the public timeline"
|
||||
= f.check_box :privacy_allow_stranger_answers, label: "Allow other people to answer your questions"
|
||||
|
||||
= f.submit "Save settings", class: 'btn btn-primary'
|
||||
= f.submit "Save settings", class: 'btn btn-primary'
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "#{@user.display_name.blank? ? "@#{@user.screen_name}'s" : "#{@user.display_name}'s"} questions | #{APP_CONFIG['site_name']}")
|
||||
.profile--header
|
||||
.container.j2-page
|
||||
.col-md-3.col-xs-12.col-sm-4.j2-col-reset
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "#{@user.display_name.blank? ? "@#{@user.screen_name}" : "#{@user.display_name} (@#{@user.screen_name})"} | #{APP_CONFIG['site_name']}")
|
||||
- no_header = unless @user.profile_header.exists? then "profile--no-header" else "" end
|
||||
#profile--header.hidden-xs{class: no_header}
|
||||
%img.profile--header-img{src: @user.profile_header.url(:web)}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- provide(:title, "#{@user.display_name.blank? ? "@#{@user.screen_name}'s" : "#{@user.display_name}'s"} friends & followers | #{APP_CONFIG['site_name']}")
|
||||
.profile--header
|
||||
.container.j2-page
|
||||
.col-md-3.col-xs-12.col-sm-4.j2-col-reset
|
||||
|
@ -18,4 +19,4 @@
|
|||
Load more
|
||||
.visible-xs= render 'shared/links'
|
||||
- if user_signed_in?
|
||||
= render 'user/modal_group_memberships'
|
||||
= render 'user/modal_group_memberships'
|
||||
|
|
Loading…
Reference in New Issue