Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #12 from healthgovau/445-upload-icon
Browse files Browse the repository at this point in the history
[notification] changed 2 of 3 sample notifications to use custom icons
  • Loading branch information
Benjen authored Mar 23, 2021
2 parents 28d2ceb + bdc2992 commit 4cf3ed4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ source:
-
id: 8
file: 'https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/unicode.svg'
-
id: 9
file: 'https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/php.svg'
ids:
id:
type: integer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,24 @@ source:
data_rows:
- id: 8
image: 'https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/unicode.svg'
- id: 9
image: 'https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/php.svg'
ids:
id:
type: string
type: integer
process:
pseudo_destination_filename:
- plugin: callback
-
plugin: callback
callable: basename
source: image
- plugin: skip_on_empty
-
plugin: skip_on_empty
method: row
message: 'Cannot import empty filename.'
pseudo_destionation_path:
- plugin: concat
-
plugin: concat
source:
- '@pseudo_destination_filename'
name: '@pseudo_destination_filename'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ source:
id: h_notification_type_2
name: information
field_h_colour: information
field_h_icon: 9
-
id: h_notification_type_3
name: warning
Expand Down

0 comments on commit 4cf3ed4

Please sign in to comment.