-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace site-icon sass mixin with native css
- Loading branch information
Showing
5 changed files
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ | |
} | ||
|
||
.artist-link { | ||
@include site_icon(1.5rem) | ||
--icon-size: 1.5rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
<%# locals: (artist_url:) -%> | ||
<div class="artist-link"> | ||
<%= site_icon artist_url %> | ||
<%= link_to artist_url.unescaped_url_identifier, artist_path(artist_url.artist, search: { artist_url_id: [artist_url.id] }), class: "site-icon-text" %> | ||
<%= link_to "[U]", enqueue_artist_url_path(artist_url), method: :post, title: "Last scraped: #{last_scraped_at_text(artist_url)}" if artist_url.scraper_enabled? %> | ||
<% if artist_url.id.in? job_stats.scraping_now %> | ||
[Scraping now!] <%= scraper_status(artist_url, prefix: "Status") %> | ||
<% end %> | ||
<% if job_stats.scraping_queued[artist_url.id] %> | ||
[Scraping queued] <%= scraper_status(artist_url, prefix: "Status") %> | ||
<% end %> | ||
<% if job_stats.submission_download_queued[artist_url.id] %> | ||
[<%= job_stats.submission_download_queued[artist_url.id] %> pending | ||
<%= artist_url.site_type == "tumblr" ? "reblogs" : "file downloads" %>] | ||
<% end %> | ||
<% if job_stats.e6_iqdb_queued[artist_url.id] %> | ||
[<%= job_stats.e6_iqdb_queued[artist_url.id] %> pending e6 iqdb calls] | ||
<%= site_icon artist_url do %> | ||
<%= link_to artist_url.unescaped_url_identifier, artist_path(artist_url.artist, search: { artist_url_id: [artist_url.id] }) %> | ||
<%= link_to "[U]", enqueue_artist_url_path(artist_url), method: :post, title: "Last scraped: #{last_scraped_at_text(artist_url)}" if artist_url.scraper_enabled? %> | ||
<% if artist_url.id.in? job_stats.scraping_now %> | ||
[Scraping now!] <%= scraper_status(artist_url, prefix: "Status") %> | ||
<% end %> | ||
<% if job_stats.scraping_queued[artist_url.id] %> | ||
[Scraping queued] <%= scraper_status(artist_url, prefix: "Status") %> | ||
<% end %> | ||
<% if job_stats.submission_download_queued[artist_url.id] %> | ||
[<%= job_stats.submission_download_queued[artist_url.id] %> pending | ||
<%= artist_url.site_type == "tumblr" ? "reblogs" : "file downloads" %>] | ||
<% end %> | ||
<% if job_stats.e6_iqdb_queued[artist_url.id] %> | ||
[<%= job_stats.e6_iqdb_queued[artist_url.id] %> pending e6 iqdb calls] | ||
<% end %> | ||
<% end %> | ||
</div> |