Add extended about page stub
This commit is contained in:
parent
2939e9898b
commit
e25170f960
10 changed files with 44 additions and 15 deletions
8
app/views/about/more.html.haml
Normal file
8
app/views/about/more.html.haml
Normal file
|
@ -0,0 +1,8 @@
|
|||
- content_for :page_title do
|
||||
#{Rails.configuration.x.local_domain}
|
||||
|
||||
.wrapper
|
||||
= @extended_description.html_safe
|
||||
|
||||
- if @contact_account
|
||||
= render partial: 'authorize_follow/card', locals: { account: @contact_account }
|
|
@ -9,6 +9,12 @@
|
|||
%th Setting
|
||||
%th Click to edit
|
||||
%tbody
|
||||
%tr
|
||||
%td{ rowspan: 2 }
|
||||
%strong Contact information
|
||||
%td= best_in_place @settings['site_contact_username'], :value, url: admin_setting_path(@settings['site_contact_username']), place_holder: 'Enter a username'
|
||||
%tr
|
||||
%td= best_in_place @settings['site_contact_email'], :value, url: admin_setting_path(@settings['site_contact_email']), place_holder: 'Enter a public e-mail address'
|
||||
%tr
|
||||
%td
|
||||
%strong Site description
|
||||
|
@ -21,8 +27,10 @@
|
|||
%code= '<em>'
|
||||
%td= best_in_place @settings['site_description'], :value, as: :textarea, url: admin_setting_path(@settings['site_description'])
|
||||
%tr
|
||||
%td{ rowspan: 2 }
|
||||
%strong Contact information
|
||||
%td= best_in_place @settings['site_contact_username'], :value, url: admin_setting_path(@settings['site_contact_username']), place_holder: 'Enter a username'
|
||||
%tr
|
||||
%td= best_in_place @settings['site_contact_email'], :value, url: admin_setting_path(@settings['site_contact_email']), place_holder: 'Enter a public e-mail address'
|
||||
%td
|
||||
%strong Extended site description
|
||||
%br/
|
||||
Displayed on extended information page
|
||||
%br/
|
||||
You can use HTML tags
|
||||
%td= best_in_place @settings['site_extended_description'], :value, as: :textarea, url: admin_setting_path(@settings['site_extended_description'])
|
Loading…
Add table
Add a link
Reference in a new issue