diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 34bca3c62..8260b40db 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -239,12 +239,6 @@ ul.facet-sort-wrap { margin-top: 5px; } -// Bootstrap's row -.row { - margin: 10px 0 10px 0; - //padding: 0px 0px 10px 0px; // Do not add padding to the row - messes up sidebar etc. -} - // From https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ .dont-break-out { /* These are technically the same, but use both */ diff --git a/app/views/bans/new.html.erb b/app/views/bans/new.html.erb index 13e4a3452..7002353e1 100644 --- a/app/views/bans/new.html.erb +++ b/app/views/bans/new.html.erb @@ -1,17 +1,15 @@ -
- <%- item_fields(@item_class).each do |field| -%> - | <%= t field, default: field.to_s.titleize %> | - <%- end %> -- |
---|---|---|
- <%= label_tag id do %> - <%= hidden_field_tag "reviewed_item_ids[]", item.id %> - /> - <% end %> - | - <%- item_fields(@item_class).each do |field| -%> -- <% end %> - | <%= link_to t('.link', default: [:'helpers.titles.link', 'Link']), item %> | -
+ <%- item_fields(@item_class).each do |field| -%> + | <%= t field, default: field.to_s.titleize %> | + <%- end %> ++ |
---|---|---|
+ <%= label_tag id do %> + <%= hidden_field_tag "reviewed_item_ids[]", item.id %> + /> + <% end %> + | + <%- item_fields(@item_class).each do |field| -%> ++ <% end %> + | <%= link_to t('.link', default: [:'helpers.titles.link', 'Link']), item %> | +
Want to leave TeSS? <%= button_to "Delete account", registration_path(resource_name), data: { confirm: "Are you sure you want to delete your account? There is no going back once you perform this action." }, method: :delete, :class => 'btn btn-danger' %>
+Want to leave TeSS? <%= button_to "Delete account", registration_path(resource_name), data: { confirm: "Are you sure you want to delete your account? There is no going back once you perform this action." }, method: :delete, :class => 'btn btn-danger' %>
-Please email <%= mail_to(TeSS::Config.contact_email, TeSS::Config.contact_email) %> to request an account.
-In your email please include the following information:
-Sorry for any inconvenience caused,
-The <%= TeSS::Config.site['title_short'] %> Team
-Please email <%= mail_to(TeSS::Config.contact_email, TeSS::Config.contact_email) %> to request an account.
+In your email please include the following information:
+Sorry for any inconvenience caused,
+The <%= TeSS::Config.site['title_short'] %> Team
+<%= t('authentication.omniauth.description') %>
- <%= render partial: 'devise/sessions/omniauth_options' %> -<%= t('authentication.omniauth.description') %>
+ <%= render partial: 'devise/sessions/omniauth_options' %> +<%= t('authentication.password.description') %>
- <%= f.input :login, label: 'Email or username', autofocus: true %> - <%= f.input :password, input_html: { autocomplete: 'off' } %> - <% if devise_mapping.rememberable? -%> - <%= f.input :remember_me, as: :boolean %> - <% end -%> -<%= t('authentication.password.description') %>
+ <%= f.input :login, label: 'Email or username', autofocus: true %> + <%= f.input :password, input_html: { autocomplete: 'off' } %> + <% if devise_mapping.rememberable? -%> + <%= f.input :remember_me, as: :boolean %> + <% end -%> +- Reports are a way of recording metrics and information about an event after it has ended. - All fields are optional, and can be amended at any time. -
-Reports are not publicly visible and can only be accessed by users with "edit" access to the event.
- <% end %> -+ Reports are a way of recording metrics and information about an event after it has ended. + All fields are optional, and can be amended at any time. +
+Reports are not publicly visible and can only be accessed by users with "edit" access to the event.
+ <% end %> +No results found
- <% else %> - <% tabs = @results.keys.sort_by { |k| TeSS::Config.site['tab_order'].index(k.to_s) || 99 } %> - +No results found
+ <% else %> + <% tabs = @results.keys.sort_by { |k| TeSS::Config.site['tab_order'].index(k.to_s) || 99 } %> + -