• R/O
  • HTTP
  • SSH
  • HTTPS

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

File Info

Rev. a12872389fb61f52bf95cdc2b68ad112483674b3
Size 420 bytes
Time 2021-03-19 12:24:33
Author HMML
Log Message

Add 36126 amedas station file for backword compatibility.

Content

module ApplicationHelper
  def bs_icon(sym, opts = {})
    fa_icon sym, opts
  end

  def cc_icon(license)
    license.blank? and return ""
    content_tag(:a, rel: "license", class: "cc-icon-link",
                    href: "http://creativecommons.org/licenses/#{license}/4.0/") do
      image_tag "https://i.creativecommons.org/l/#{license}/4.0/88x31.png", size: "88x31", alt: "CC #{license.upcase}"
    end
  end
end