]> cat aescling's git repositories - mastodon.git/commitdiff
Add settings for contact information
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 12 Jan 2017 19:54:14 +0000 (20:54 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 12 Jan 2017 19:54:14 +0000 (20:54 +0100)
app/views/admin/settings/index.html.haml

index b8ca3a7a449cebf27ef6658258530c5fc974f82c..4f9ad2fde0727af366eb4a01a83282408cfe00fb 100644 (file)
@@ -20,3 +20,9 @@
         and
         %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'