Added a possibility to show donor/vip torrent (#4265)

This commit is contained in:
Jorman
2018-12-03 00:15:49 +01:00
committed by garfield69
parent 723eae7792
commit 0c9acc990d

View File

@@ -70,12 +70,23 @@
- {id: 74, cat: Books/Comics, desc: "Manga"} - {id: 74, cat: Books/Comics, desc: "Manga"}
- {id: 87, cat: Books, desc: "Giornali"} - {id: 87, cat: Books, desc: "Giornali"}
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep]
movie-search: [q] movie-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: donor
type: checkbox
label: Show donor torrent? (Enable if you're a donor)
default: false
login: login:
path: index.php?page=login path: index.php?page=login
method: post method: post
@@ -98,7 +109,7 @@
options: "0" options: "0"
active: "0" active: "0"
rows: rows:
selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="]) selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="]){{if .Config.donor }}{{else}}:not(:has(img[src*="keditbookmarks.png"])){{end}}
fields: fields:
download: download:
selector: a[href^="index.php?page=torrent-details&id="] selector: a[href^="index.php?page=torrent-details&id="]