Skip to content

Commit

Permalink
LRIS-33990 reference ids instead of names
Browse files Browse the repository at this point in the history
  • Loading branch information
rdai10 authored and Jonathan Mak committed Nov 30, 2018
1 parent 72def35 commit 1c7ac54
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
10 changes: 5 additions & 5 deletions theme/src/resources/templates/home_page.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
</section>

{{#each categories}}
{{#is name 'Announcements'}}
{{#is id 360000892252}}
<section class="announcements d-none row">
<h2 class="col-md-12">
{{dc 'mega_menu-announcements'}}
Expand All @@ -249,19 +249,19 @@
<div class="announcement col-md-6">
<h3 class="announcement-heading">
<svg class="announcement-icon">
{{#is name 'Fix Pack Update'}}
{{#is id 360002102352}}
<use xlink:href="#fixpack-updates" />
{{/is}}

{{#is name 'Product Release'}}
{{#is id 360002099871}}
<use xlink:href="#product-release" />
{{/is}}

{{#is name 'Security Alert'}}
{{#is id 360002099951}}
<use xlink:href="#security-alert" />
{{/is}}

{{#is name 'System Update'}}
{{#is id 360002102472}}
<use xlink:href="#announcement" />
{{/is}}
</svg>
Expand Down
20 changes: 20 additions & 0 deletions theme/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,26 @@ module.exports = merge(
{
replace: '360000868012',
search: '360000869232'
},
{
replace: '360000892272',
search: '360000892252'
},
{
replace: '360002099931',
search: '360002102352'
},
{
replace: '360002099851',
search: '360002099871'
},
{
replace: '360002102392',
search: '360002099951'
},
{
replace: '360002102452',
search: '360002102472'
}
]
},
Expand Down

0 comments on commit 1c7ac54

Please sign in to comment.