+ <%= f.label _('Name'), for: :name, class: "control-label" %>
+ <%= f.text_field :name, as: :string, class: "form-control", 'data-toggle': 'tooltip', title: _('Add an appropriate name for your guidance group. This name will tell the end user where the guidance has come from. We suggest you use the organisation or department name e.g. "OU" or "Maths & Stats"') %>
+
+
+
+ <%= f.check_box :published, 'data-toggle': 'tooltip', title: _("Check this box when you are ready for guidance associated with this group to appear on user's plans.") %>
+ <%= f.label _('Published'), for: :published, class: "control-label" %>
+
+
+
+ <%= f.check_box :optional_subset, 'data-toggle': 'tooltip', title: _("If the guidance is only meant for a subset of users e.g. those in a specific college or institute, check this box. Users will be able to select to display this subset guidance when answering questions in the 'create plan' wizard.") %>
+ <%= f.label _('Optional Subset'), for: :optional_subset, class: "control-label" %><%= _(' (e.g. School/ Department) ') %>
+
+ <%= f.label _('Name'), for: :name, class: "control-label" %>
+ <%= f.text_field :name, as: :string, class: "form-control", 'data-toggle': 'tooltip', title: _('Add an appropriate name for your guidance group. This name will tell the end user where the guidance has come from. We suggest you use the organisation or department name e.g. "OU" or "Maths & Stats"') %>
+
+
+
+ <%= f.check_box :published, 'data-toggle': 'tooltip', title: _("Check this box when you are ready for guidance associated with this group to appear on user's plans.") %>
+ <%= f.label _('Published'), for: :published, class: "control-label" %>
+
+
+
+ <%= f.check_box :optional_subset, 'data-toggle': 'tooltip', title: _("If the guidance is only meant for a subset of users e.g. those in a specific college or institute, check this box. Users will be able to select to display this subset guidance when answering questions in the 'create plan' wizard.") %>
+ <%= f.label _('Optional Subset'), for: :optional_subset, class: "control-label" %><%= _(' (e.g. School/ Department) ') %>
+
\ No newline at end of file
diff --git a/app/views/branded/guidances/admin_index.html.erb b/app/views/branded/guidances/admin_index.html.erb
new file mode 100644
index 0000000..8bce990
--- /dev/null
+++ b/app/views/branded/guidances/admin_index.html.erb
@@ -0,0 +1,48 @@
+
+
+
<%= _('Guidance') %>
+
+
+ <%= _("First create a guidance group. This could be organisation wide or a subset e.g. a particular College / School, Institute or department. When you create guidance you'll be asked to assign it to a guidance group.") %>
+
+ <%= _('You can write pieces of guidance to be displayed by theme (e.g. generic guidance on storage and backup that should present across the board). Writing generic guidance by theme saves you time and effort as your advice will be automatically displayed across all templates rather than having to write guidance to accompany each.') %>
+
+
+ <%= _('If you do have a need to provide guidance for specific funders that would not be useful to a wider audience (e.g. if you have specific instructions for applicants to BBSRC for example), you can do so by adding guidance to a specific question when you edit your template.') %>
+
+ <%= render partial: 'org_admin/shared/theme_selector',
+ locals: { f: f, all_themes: themes,
+ popover_message: _('Select one or more themes that are relevant to this guidance. This will display your generic organisation-level guidance, as well as that from other sources e.g. the %{org_name} guidance or any Schools/Departments that you provide guidance for.') % { org_name: (current_user.org.abbreviation.present? ? current_user.org.abbreviation : current_user.org.name ) } } %>
+
+ <%= f.label :published, raw("#{f.check_box :published, as: :check_boxes, 'data-toggle': 'tooltip', title: _("Check this box when you are ready for this guidance to appear on user's plans.")} #{_('Published?')}") %>
+
\ No newline at end of file
diff --git a/app/views/branded/home/_welcome.html.erb b/app/views/branded/home/_welcome.html.erb
new file mode 100644
index 0000000..5c548da
--- /dev/null
+++ b/app/views/branded/home/_welcome.html.erb
@@ -0,0 +1,8 @@
+
+
<%= _('Welcome.')%>
+
+ <%= raw _('
%{application_name} helps you to create, review, and share data management plans that meet institutional and funder requirements. It has been jointly developed by the Digital Curation Centre (DCC) and the University of California Curation Center (UC3).') % {:application_name => Rails.configuration.branding[:application][:name], :organisation_name => Rails.configuration.branding[:organisation][:name]} %>
+
+
+
+
diff --git a/app/views/branded/layouts/_branding.html.erb b/app/views/branded/layouts/_branding.html.erb
new file mode 100644
index 0000000..de9f779
--- /dev/null
+++ b/app/views/branded/layouts/_branding.html.erb
@@ -0,0 +1,110 @@
+
diff --git a/app/views/branded/layouts/_footer.html.erb b/app/views/branded/layouts/_footer.html.erb
new file mode 100644
index 0000000..5d90e76
--- /dev/null
+++ b/app/views/branded/layouts/_footer.html.erb
@@ -0,0 +1,31 @@
+<%
+ # Override the default Rails route helper for the contact_us page IF an alternate contact_us url was defined
+ # in the branding config file
+ contact_us = Rails.application.config.branding[:organisation][:contact_us_url] || contact_us_path
+%>
+
+
+
diff --git a/app/views/branded/layouts/_navigation.html.erb b/app/views/branded/layouts/_navigation.html.erb
new file mode 100644
index 0000000..43b4509
--- /dev/null
+++ b/app/views/branded/layouts/_navigation.html.erb
@@ -0,0 +1,70 @@
+
+
+
diff --git a/app/views/branded/layouts/_signin_signout.html.erb b/app/views/branded/layouts/_signin_signout.html.erb
new file mode 100644
index 0000000..08731fa
--- /dev/null
+++ b/app/views/branded/layouts/_signin_signout.html.erb
@@ -0,0 +1,45 @@
+
+<% if MANY_LANGUAGES %>
+
+ <%= yield %>
+
+
+
+
+
+ <%
+ constants_json = {
+ PASSWORD_MIN_LENGTH: 8,
+ PASSWORD_MAX_LENGTH: 128,
+ MAX_NUMBER_ORG_URLS: 3,
+ MAX_NUMBER_GUIDANCE_SELECTIONS: 6,
+
+ VALIDATION_MESSAGE_DEFAULT: _('Please enter a valid value.'),
+ VALIDATION_MESSAGE_EMAIL: _('You must enter a valid email address.'),
+ VALIDATION_MESSAGE_URL: _('You must enter a valid URL (e.g. https://organisation.org).'),
+ VALIDATION_MESSAGE_NUMBER: _('Please enter a valid number.'),
+ VALIDATION_MESSAGE_PASSWORD: _('The password must be between 8 and 128 characters.'),
+ VALIDATION_MESSAGE_PASSWORDS_MATCH: _('The passwords must match.'),
+ VALIDATION_MESSAGE_RADIO: _('Please choose one of the options.'),
+ VALIDATION_MESSAGE_CHECKBOX: _('Please check the box to continue.'),
+ VALIDATION_MESSAGE_SELECT: _('Please select a value from the list.'),
+ VALIDATION_MESSAGE_TEXT: _('This field is required.'),
+
+ SHOW_PASSWORD_MESSAGE: _('Show password'),
+ SHOW_SELECT_ORG_MESSAGE: _('Select an organisation from the list.'),
+ SHOW_OTHER_ORG_MESSAGE: _('My organisation isn\'t listed'),
+
+ PLAN_VISIBILITY_WHEN_TEST: _('N/A'),
+ PLAN_VISIBILITY_WHEN_NOT_TEST: _('Private'),
+ PLAN_VISIBILITY_WHEN_NOT_TEST_TOOLTIP: _('Private: restricted to me and people I invite.'),
+
+ SHIBBOLETH_DISCOVERY_SERVICE_HIDE_LIST: _('Hide list.'),
+ SHIBBOLETH_DISCOVERY_SERVICE_SHOW_LIST: _('See the full list of partner institutions.'),
+
+ NO_TEMPLATE_FOUND_ERROR: _('Unable to find a suitable template for the research organisation and funder you selected.'),
+ NEW_PLAN_DISABLED_TOOLTIP: _('Please select a research organisation and funder to continue.')
+ }.to_json
+ %>
+
+
+
+
diff --git a/app/views/branded/org_admin/plans/index.html.erb b/app/views/branded/org_admin/plans/index.html.erb
new file mode 100644
index 0000000..6133cdd
--- /dev/null
+++ b/app/views/branded/org_admin/plans/index.html.erb
@@ -0,0 +1,46 @@
+
<%= link_to _('Complete'), feedback_complete_org_admin_plan_path(notice), 'data-toggle': 'tooltip', title: _('Notify the plan owner that I have finished providing feedback') %>
+ <%= _('If you wish to add an organisational template for a Data Management Plan, use the \'create template\' button. You can create more than one template if desired e.g. one for researchers and one for PhD students. Your template will be presented to users within your organisation when no funder templates apply. If you want to add questions to funder templates use the \'customise template\' options below.') %>
+
\ No newline at end of file
diff --git a/app/views/branded/orgs/admin_edit.html.erb b/app/views/branded/orgs/admin_edit.html.erb
new file mode 100644
index 0000000..886e827
--- /dev/null
+++ b/app/views/branded/orgs/admin_edit.html.erb
@@ -0,0 +1,36 @@
+
\ No newline at end of file
diff --git a/app/views/branded/super_admin/themes/index.html.erb b/app/views/branded/super_admin/themes/index.html.erb
new file mode 100644
index 0000000..bc59506
--- /dev/null
+++ b/app/views/branded/super_admin/themes/index.html.erb
@@ -0,0 +1,21 @@
+
\ No newline at end of file
diff --git a/app/views/branded/usage/index.html.erb b/app/views/branded/usage/index.html.erb
new file mode 100644
index 0000000..5672350
--- /dev/null
+++ b/app/views/branded/usage/index.html.erb
@@ -0,0 +1,112 @@
+
+
+
Usage statistics
+
<%= _('Use the filters to generate organisational usage statistics for a custom date range. The graphs display new users and plans for your organisation over the past year. You can download a CSV report for each graph.') %>
+ <%= _('You don\'t have access to use the API. An api token is needed to generate usage statistics.') %>
+
+ <% end %>
+
+
+
+
+
+
+
+
+
+
<%= _('New users') %>
+
<%= _('New plans') %>
+
+
+
+
+
+
+
+
<%= _('Total users') %>
+
<%= _('Total plans') %>
+
+
+
+
+
+
+
+
+
+
+
+
+
<%= _('No. users joined during last year') %>
+
+
+
+
+
+
<%= _('There is no data available for users joined yet.') %>
+
+
+
+
+
<%= _('No. plans during last year') %>
+
+
+
+
+
+
<%= _('There is no data available for plans yet.') %>
+
+
+
\ No newline at end of file
diff --git a/app/views/branded/users/admin_index.html.erb b/app/views/branded/users/admin_index.html.erb
new file mode 100644
index 0000000..d212656
--- /dev/null
+++ b/app/views/branded/users/admin_index.html.erb
@@ -0,0 +1,21 @@
+
+
+
<%= _('User accounts') %>
+
+ <%= _('Below is a list of users registered for your organisation. You can sort the data by each field.')%>
+