-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1399 from codidact/cellio/make-tag-rss-link-more-…
…visible make tag rss link more visible
- Loading branch information
Showing
4 changed files
with
51 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<%# | ||
'Adds an RSS link. | ||
Variables: | ||
url : [String] URL to the feed | ||
text : [String, Nil] text to visibly show | ||
tooltip : [String, Nil] text to show in the tooltip | ||
' | ||
%> | ||
<% | ||
# Defaults | ||
text = defined?(text) ? text : 'RSS' | ||
tooltip = defined?(tooltip) ? tooltip : 'RSS Feed' | ||
%> | ||
|
||
<span title="<%= tooltip %>"> | ||
<%= link_to url, class: 'has-display-inline-block' do %> | ||
<i class="fas fa-rss"></i> RSS | ||
<% end %> | ||
</span> |
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