Branding changes (#24)
- Removed the description field from organisation - Added a contact email field to organization - Added an email address validator - Updated organisation logo upload so that the system will resize the image to the correct height rather than forcing the user to provide a 100x100 image - Change how the organisation logo is displayed * updated organisation edit page's error messages so that errors are placed in the alert text section. Updated wording in locale files to reflect the 160x160 file size. * removed height and width constraints to logo upload function. Added method that will resize the uploaded logo so that the width is 160px (maintaining aspect ratio) so that the logo fits within the layout properly * changed logo size to a height of 100 and moved logo so that it appears alongside the DMPRoadmap logo per the current specifications * Removed description field from organisation. Add contact email to the organisation. Change the way the logo is displayed on the organisation screen. |
---|
|
app/assets/stylesheets/admin.css.less |
---|
app/controllers/organisations_controller.rb |
---|
app/models/organisation.rb |
---|
app/validators/email_validator.rb 0 → 100644 |
---|
app/views/layouts/_dmponline_header.html.erb |
---|
app/views/layouts/_dmponline_org_branding.html.erb |
---|
app/views/organisations/admin_edit.html.erb |
---|
app/views/organisations/admin_show.html.erb |
---|
config/initializers/dragonfly.rb |
---|
config/locales/de.yml |
---|
config/locales/en-UK.yml |
---|
config/locales/en-US.yml |
---|
config/locales/fr.yml |
---|
db/migrate/20160822130601_remove_description_from_organisation.rb 0 → 100644 |
---|
db/migrate/20160822130701_add_contact_email_to_organisation.rb 0 → 100644 |
---|
db/schema.rb |
---|