Show More
@@ -189,7 +189,7 b'' | |||||
189 | ${val} |
|
189 | ${val} | |
190 | %endif |
|
190 | %endif | |
191 | %if show_items: |
|
191 | %if show_items: | |
192 | <div class="collapsable-content" data-toggle="item-${h.md5_safe(val)[:6]}-details" style="display: none"> |
|
192 | <div class="collapsable-content" data-toggle="item-${h.md5_safe(h.safe_str(val))[:6]}-details" style="display: none"> | |
193 | % for item in show_items: |
|
193 | % for item in show_items: | |
194 | <dt></dt> |
|
194 | <dt></dt> | |
195 | <dd>${item}</dd> |
|
195 | <dd>${item}</dd> | |
@@ -199,7 +199,7 b'' | |||||
199 | </td> |
|
199 | </td> | |
200 | <td style="vertical-align: top"> |
|
200 | <td style="vertical-align: top"> | |
201 | %if show_items: |
|
201 | %if show_items: | |
202 | <span class="btn-collapse" data-toggle="item-${h.md5_safe(val)[:6]}-details">${_('Show More')} </span> |
|
202 | <span class="btn-collapse" data-toggle="item-${h.md5_safe(h.safe_str(val))[:6]}-details">${_('Show More')} </span> | |
203 | %endif |
|
203 | %endif | |
204 | </td> |
|
204 | </td> | |
205 | </tr> |
|
205 | </tr> |
@@ -59,7 +59,7 b" return '%s_%s_%i' % (h.md5_safe(commit+f" | |||||
59 | )"> |
|
59 | )"> | |
60 |
|
60 | |||
61 | <% |
|
61 | <% | |
62 | diffset_container_id = h.md5(diffset.target_ref) |
|
62 | diffset_container_id = h.md5_safe(diffset.target_ref) | |
63 | collapse_all = len(diffset.files) > collapse_when_files_over |
|
63 | collapse_all = len(diffset.files) > collapse_when_files_over | |
64 | active_pattern_entries = h.get_active_pattern_entries(getattr(c, 'repo_name', None)) |
|
64 | active_pattern_entries = h.get_active_pattern_entries(getattr(c, 'repo_name', None)) | |
65 | from rhodecode.lib.diffs import NEW_FILENODE, DEL_FILENODE, \ |
|
65 | from rhodecode.lib.diffs import NEW_FILENODE, DEL_FILENODE, \ | |
@@ -909,7 +909,7 b' def get_comments_for(diff_type, comments' | |||||
909 | </%def> |
|
909 | </%def> | |
910 |
|
910 | |||
911 | <%def name="render_diffset_menu(diffset, range_diff_on=None, commit=None, pull_request_menu=None)"> |
|
911 | <%def name="render_diffset_menu(diffset, range_diff_on=None, commit=None, pull_request_menu=None)"> | |
912 | <% diffset_container_id = h.md5(diffset.target_ref) %> |
|
912 | <% diffset_container_id = h.md5_safe(diffset.target_ref) %> | |
913 |
|
913 | |||
914 | <div id="diff-file-sticky" class="diffset-menu clearinner"> |
|
914 | <div id="diff-file-sticky" class="diffset-menu clearinner"> | |
915 | ## auto adjustable |
|
915 | ## auto adjustable |
General Comments 0
You need to be logged in to leave comments.
Login now