module Admins::MirrorRepositoriesHelper
def mirror_type_tag(mirror)
case mirror.main_type
when '1' then ''.html_safe
when '0' then ''.html_safe
end
end
def mirror_status_tag(mirror)
case mirror.status
when 0
''.html_safe
when 1
''.html_safe
when 2, 3
''.html_safe
when 4
''.html_safe
when 5
''.html_safe
end
end
end