forked from bofh/fetsite
generated documentation
This commit is contained in:
@@ -42,8 +42,9 @@ m.save
|
||||
# current_url1({:locale=>target_locale}) .sub "/"+I18n.locale.to_s+"/", "/"+target_locale.to_s+"/"
|
||||
language_path(locale: target_locale)
|
||||
end
|
||||
|
||||
def ffi1_icon (name)
|
||||
content_tag("i","", class: "ficon ffi1-"+name )
|
||||
content_tag("i", "", class: "ficon ffi1-" + name )
|
||||
end
|
||||
|
||||
def ffi2_icon (name)
|
||||
@@ -54,8 +55,11 @@ m.save
|
||||
end
|
||||
|
||||
def fa_stack(icon1, icon2)
|
||||
content_tag("span", content_tag("span", content_tag("i","", class: "ficon "+" fa-"+icon1+" fa fa-stack-1x" ) + content_tag("i","", class: "ficon "+" fa-"+icon2+" fa fa-stack-2x" ),class: "fa-stack "),class:"fa-stack-sm")
|
||||
|
||||
h_1 = content_tag("span", content_tag("i","", class: "ficon "+" fa-"+icon1+" fa fa-stack-1x" ) + content_tag("i","", class: "ficon "+" fa-"+icon2+" fa fa-stack-2x" ),class: "fa-stack ")
|
||||
|
||||
h_2 = content_tag("span", h_1 ,class: "fa-stack-sm")
|
||||
|
||||
h_2
|
||||
end
|
||||
def ffi1_list
|
||||
y=YAML.load_file("#{::Rails.root.to_s}/config/flatfeticon1.yml")
|
||||
|
||||
Reference in New Issue
Block a user