Allow lists of trackingid footers
Gerrit allows for multiple footers in a single trackingid. If a footers list is provided, iterate through all its entries; if not though, we should continue supporting the old footer string as a fallback. Change-Id: I99e16246e81b7ebc50e96054a2e3790aed0089bc
This commit is contained in:
parent
76454dd134
commit
4af0bfe7d4
|
@ -148,7 +148,13 @@
|
|||
<% @trackingids.each do |trackingid| -%>
|
||||
[trackingid "<%= trackingid['name'] %>"]
|
||||
match = "<%= trackingid['match'] %>"
|
||||
<% if trackingid['footers'] -%>
|
||||
<% trackingid['footers'].each do |footer_value| -%>
|
||||
footer = "<%= footer_value %>"
|
||||
<% end -%>
|
||||
<% else -%>
|
||||
footer = "<%= trackingid['footer'] %>"
|
||||
<% end -%>
|
||||
system = "<%= trackingid['system'] %>"
|
||||
<% end -%>
|
||||
[theme]
|
||||
|
|
Loading…
Reference in New Issue