Skip to content

Commit

Permalink
linting and changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
lagartoverde committed Jan 6, 2025
1 parent 594a342 commit 5f8a42e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-rings-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'frontend-gelinkt-notuleren': minor
---

Added copy parts to the regulatory statements
4 changes: 2 additions & 2 deletions app/components/copy-parts/section.gjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import Component from '@glimmer/component';
import { helper } from '@ember/component/helper';
import { htmlSafe } from '@ember/template';
import t from 'ember-intl/helpers/t';
import { trackedReset } from 'tracked-toolbox';
import { stripHtmlForPublish } from '@lblod/ember-rdfa-editor/utils/strip-html-for-publish';
import DownloadButton from './download-button';
import SECTIONS from 'frontend-gelinkt-notuleren/utils/rb-sections';
import { inject as service } from '@ember/service';
import { concat } from '@ember/helper';

function update(component, intl) {
if (!component.args.sections) return [component.args.section.content];
Expand Down Expand Up @@ -115,7 +115,7 @@ export default class Section extends Component {
</div>
<div
class='gn-meeting-copy--section-button'
style='right: -{{htmlSafe @section.level}}rem'
style={{htmlSafe (concat 'right: -' @section.level 'rem')}}
>
<DownloadButton
@section={{@section}}
Expand Down
6 changes: 5 additions & 1 deletion app/templates/regulatory-statements/copy.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
as |Group|
>
<Group>
<AuLink @route='regulatory-statements.edit' @model={{@model.container.id}} @skin='secondary'>
<AuLink
@route='regulatory-statements.edit'
@model={{@model.container.id}}
@skin='secondary'
>
<AuIcon @icon='arrow-left' @alignment='left' />
{{t 'inbox.regulatory-statements.return-to-edit'}}
</AuLink>
Expand Down

0 comments on commit 5f8a42e

Please sign in to comment.