sources: add rule34.xxx, safebooru.org, and tbib.org site icons.
Fixes these sources incorrectly using the Gelbooru site icon.
This commit is contained in:
@@ -138,6 +138,8 @@ module IconHelper
|
|||||||
Redbubble
|
Redbubble
|
||||||
Reddit
|
Reddit
|
||||||
Rule34.us
|
Rule34.us
|
||||||
|
Rule34.xxx
|
||||||
|
Safebooru
|
||||||
Sakura.ne.jp
|
Sakura.ne.jp
|
||||||
Sankaku\ Complex
|
Sankaku\ Complex
|
||||||
Shopee
|
Shopee
|
||||||
@@ -154,6 +156,7 @@ module IconHelper
|
|||||||
SubscribeStar
|
SubscribeStar
|
||||||
Suzuri
|
Suzuri
|
||||||
Tapas
|
Tapas
|
||||||
|
TBIB
|
||||||
TeePublic
|
TeePublic
|
||||||
Telegram
|
Telegram
|
||||||
The\ Interviews
|
The\ Interviews
|
||||||
|
|||||||
@@ -75,6 +75,19 @@ class Source::URL::Gelbooru < Source::URL
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def site_name
|
||||||
|
case domain
|
||||||
|
in "rule34.xxx"
|
||||||
|
"Rule34.xxx"
|
||||||
|
in "tbib.org"
|
||||||
|
"TBIB"
|
||||||
|
in "gelbooru.com"
|
||||||
|
"Gelbooru"
|
||||||
|
in "safebooru.org"
|
||||||
|
"Safebooru"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def image_url?
|
def image_url?
|
||||||
image_type.present?
|
image_type.present?
|
||||||
end
|
end
|
||||||
|
|||||||
BIN
public/images/rule34.xxx-logo.png
Normal file
BIN
public/images/rule34.xxx-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 378 B |
BIN
public/images/safebooru-logo.png
Normal file
BIN
public/images/safebooru-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
public/images/tbib-logo.png
Normal file
BIN
public/images/tbib-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 316 B |
Reference in New Issue
Block a user