mirror of
https://github.com/munki/munki.git
synced 2026-03-09 10:10:26 -05:00
html-escape labels for additional updates always; add missed template with escaped fields
This commit is contained in:
@@ -557,6 +557,7 @@ def build_updates_page():
|
||||
if other_updates:
|
||||
page['hide_other_updates'] = u''
|
||||
for item in other_updates:
|
||||
escapeAndQuoteCommonFields(item)
|
||||
page['other_update_rows'] += item_template.safe_substitute(item)
|
||||
|
||||
footer = get_template('footer_template.html', raw=True)
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
<div class="lockup small detailed option">
|
||||
<a href="${detail_link}" class="artwork-link">
|
||||
<div class="artwork">
|
||||
<img width="75" height="75" alt="${display_name}" class="artwork" src="${icon}" />
|
||||
<img width="75" height="75" alt="${display_name_escaped}" class="artwork" src="${icon}" />
|
||||
</div>
|
||||
</a>
|
||||
<ul class="list">
|
||||
<li class="name" title="${display_name}"><a href="${detail_link}">${display_name}</a></li>
|
||||
<li class="genre">${category_and_developer}</li>
|
||||
<li class="${status}" id="${name}_status_text">
|
||||
<span id="${name}_status_text_span">${status_text}</span>
|
||||
<li class="name" title="${display_name_escaped}"><a href="${detail_link}">${display_name_escaped}</a></li>
|
||||
<li class="genre">${category_and_developer_escaped}</li>
|
||||
<li class="${status}" id="${name_escaped}_status_text">
|
||||
<span id="${name_escaped}_status_text_span">${status_text}</span>
|
||||
<a class="follow" href="updates.html"></a>
|
||||
<span class="progress-spinner"></span>
|
||||
</li>
|
||||
<li>
|
||||
<div class="msc-button small">
|
||||
<button class="button-area uppercase"
|
||||
onClick="window.AppController.actionButtonClicked_('${name}');">
|
||||
<div class="msc-button-inner ${status}" id="${name}_action_button_text">
|
||||
onClick="window.AppController.actionButtonClicked_('${name_quoted}');">
|
||||
<div class="msc-button-inner ${status}" id="${name_escaped}_action_button_text">
|
||||
${short_action_text}
|
||||
</div>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user