socialforge/app/views/welcome/_link_to_another.html.erb

10 lines
598 B
Plaintext
Raw Normal View History

<%hidden_non_project = Setting.find_by_name("hidden_non_project")
visiable = true #hidden_non_project && hidden_non_project.value == "0"
%>
<% unless visiable%>
<div class="linkother" style="margin-left: 30%; float: left">
<a href="http://<%= Setting.host_name%>" class="link_other_item"><%=l(:label_projects_management_platform)%></a>
<a href="http://<%= Setting.host_course%>" class="link_other_item"><%=l(:label_courses_management_platform)%></a>
<a href="http://<%= Setting.host_contest%>" class="link_other_item"><%=l(:label_contests_management_platform)%></a>
</div>
<% end%>