mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Revert "Show github release icon in mirror list"
This reverts commit 23e15ce321.
This commit is contained in:
parent
23e15ce321
commit
58e807872d
|
|
@ -76,8 +76,7 @@
|
|||
{{mir.name}}
|
||||
<span class="label label-new" v-if='mir.is_new'>new</span>
|
||||
<a v-if='mir.help_url' :href="mir.help_url"><i aria-hidden="true" class="fa fa-question-circle" title="Help"></i><span class="sr-only">[Help]</span></a>
|
||||
<a v-if='mir.github_release' :href="javascript:void(0)"></a><i aria-hidden="true" class="fa fa-github" title="GitHub Release"></i><span class="sr-only">[GitHub Release]</span>
|
||||
</a> </a>
|
||||
</a>
|
||||
</td>
|
||||
<td class="col-md-4">
|
||||
{{mir.last_update}}<span v-if="mir.show_status" :class="['label', 'label-status', mir.label, 'hidden-xs']">{{mir.status}}</span>
|
||||
|
|
|
|||
|
|
@ -145,9 +145,8 @@ var processMirrorItem = function(d){
|
|||
d = $.extend(d, options[d.name]);
|
||||
}
|
||||
d.help_url = help_url[d.name];
|
||||
d.is_new = Boolean(new_mirrors[d.name]);
|
||||
d.is_new = new_mirrors[d.name];
|
||||
d.description = descriptions[d.name];
|
||||
d.github_release = d.url && d.url.startsWith('/github-release/');
|
||||
if (d.is_master === undefined) {
|
||||
d.is_master = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -78,7 +78,6 @@ function legacyIndexRender(r){
|
|||
description: descriptions[m.name],
|
||||
url: force_help[m.name] ? help_url[m.name] : m.url ? m.url : '/' + m.name + '/',
|
||||
is_new: !!new_mirrors[m.name],
|
||||
github_release: m.url && m.url.startsWith('/github-release/'),
|
||||
help_url: help_url[m.name],
|
||||
last_update: getMirDate(target),
|
||||
label: label_map[status],
|
||||
|
|
|
|||
Loading…
Reference in New Issue