Commit 5278aae4 authored by Robert Hunt's avatar Robert Hunt

Removed unused partials and fixed British English to American English

Updated POT with the removal of the translations for the partials that
no longer exist
parent 41db9472
......@@ -11,7 +11,7 @@ export default {
},
},
computed: {
sanitisedHtml() {
sanitizedHtml() {
return sanitize(this.html, { allowedTags: ALLOWED_TAGS });
},
},
......@@ -19,5 +19,5 @@ export default {
</script>
<template>
<span v-html="sanitisedHtml"></span>
<span v-html="sanitizedHtml"></span>
</template>
%form.row-content-block.second-block.d-flex.justify-content-lg-end.pb-0
.audit-controls.d-flex.align-items-lg-center.flex-column.flex-lg-row.col-lg-auto.px-0
.form-group.align-items-lg-center.mr-lg-2.d-flex.flex-column.flex-lg-row
= label_tag :created_after, _('From'), class: 'label-bold pr-1 mb-lg-0 mr-lg-1'
= date_field_tag :created_after, params[:created_after],
class: 'form-control', placeholder: 'YYYY-MM-DD'
.form-group.align-items-lg-center.mr-lg-2.d-flex.flex-column.flex-lg-row
= label_tag :created_before, _('To'), class: 'label-bold pr-1 mb-lg-0 mr-lg-1'
= date_field_tag :created_before, params[:created_before],
class: 'form-control', placeholder: 'YYYY-MM-DD'
= submit_tag _('Search'), class: 'btn mr-lg-2 form-group'
= render 'shared/audit_events/event_sort'
- toggle_value = params[:sort].presence || sort_value_recently_created
- toggle_text = audit_logs_sort_order_hash[toggle_value]
.btn-group.w-100.flex-column.flex-lg-row.form-group{ role: "group" }
.btn-group.w-100.dropdown
%button.btn.btn-default.dropdown-menu-toggle{ type: 'button', data: { toggle: 'dropdown', display: 'static' } }
= toggle_text
= icon('chevron-down')
%ul.dropdown-menu.dropdown-menu-right.dropdown-menu-selectable
%li.dropdown-header
= _("Sort by")
- audit_logs_sort_order_hash.each do |value, title|
%li
= link_to title, filter_audit_path(sort: value), class: ("is-active" if toggle_text == title)
- if defined?(events)
.audit-table#audits
.gl-responsive-table-row.table-row-header{ role: 'row' }
.table-section.section-15{ role: 'rowheader' }
= _('Author')
.table-section.section-50{ role: 'rowheader' }
= s_('AuditEvents|Action')
.table-section.section-15{ role: 'rowheader' }
= s_('AuditEvents|Target')
.table-section.section-20{ role: 'rowheader' }
= s_('AuditEvents|At')
- events.map(&:present).each do |event|
.gl-responsive-table-row
.table-section.section-15
.table-mobile-header{ role: 'rowheader' }
= _('Author')
.table-mobile-content
- if event.author_name
%a{ href: event.author_url }= event.author_name
- else
= s_('AuditEvents|(removed)')
.table-section.section-50.section-wrap.audit-action.js-audit-action
%span= sanitize(human_text(event.details), tags: %w(strong))
.table-section.section-15.section-wrap
= event.target
.table-section.section-20
= event.date
= paginate_without_count events
......@@ -3199,18 +3199,6 @@ msgstr ""
msgid "Audit Log"
msgstr ""
msgid "AuditEvents|(removed)"
msgstr ""
msgid "AuditEvents|Action"
msgstr ""
msgid "AuditEvents|At"
msgstr ""
msgid "AuditEvents|Target"
msgstr ""
msgid "AuditLogs|(removed)"
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment