mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
Fix package injected to fedmenu on pkgs.fp.o
Fedmenu is used to link other package related services. On pkgs.fp.o constant "rpms" is used instead of package name. Signed-off-by: Marian Csontos <mcsontos@redhat.com>
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
376b5d1098
commit
de3af0e0d0
@@ -14,8 +14,8 @@
|
||||
{% endif %}
|
||||
var tokens = window.location.href.split('/');
|
||||
var repo = null;
|
||||
if (tokens.length > 4 && tokens[4] != '') {
|
||||
repo = tokens[4].split('.')[0];
|
||||
if (tokens.length > 5 && tokens[4] == 'rpms' && tokens[5] != '') {
|
||||
repo = tokens[5].split('.')[0];
|
||||
}
|
||||
fedmenu({
|
||||
'url': base + 'js/data.js',
|
||||
|
||||
Reference in New Issue
Block a user