/ Some plugins use @news (e.g. redmine_wysiwyg_editor), to detect news - @news = nil .contextual - if User.current.allowed_to?(:save_dashboards, nil, global: true) && @dashboard&.editable? = link_to l(:button_dashboard_edit), edit_dashboard_path(@dashboard), class: 'icon icon-edit' = call_hook :view_welcome_contextual_links - if @dashboard&.editable? = form_tag(add_block_dashboard_path(@dashboard), remote: true, id: 'block-form', authenticity_token: true) do = dashboard_block_select_tag @dashboard = actions_dropdown do - if User.current.allowed_to? :save_dashboards, nil, global: true = link_to l(:label_new_dashboard), new_dashboard_path, class: 'icon icon-add new-additionals-dashboard' - if @dashboard&.destroyable? = delete_dashboard_link dashboard_path(@dashboard), class: 'icon icon-del' = sidebar_action_toggle @dashboard_sidebar, @dashboard - unless @dashboard_sidebar = render_dashboard_actionlist @dashboard = call_hook :view_welcome_show_actions_dropdown - if User.current.logged? h2 = welcome_overview_name @dashboard = call_hook :view_welcome_index_top = render partial: 'common/dashboard', locals: { dashboard: @dashboard } = call_hook :view_welcome_index_bottom - if @dashboard_sidebar - content_for :sidebar do = render partial: 'sidebar' = call_hook :view_welcome_show_sidebar_bottom - content_for :header_tags do = auto_discovery_link_tag :atom, { controller: 'news', action: 'index', key: User.current.rss_key, format: 'atom' }, title: "#{Setting.app_title}: #{l :label_news_latest}" = auto_discovery_link_tag :atom, { controller: 'activities', action: 'index', key: User.current.rss_key, format: 'atom' }, title: "#{Setting.app_title}: #{l :label_activity}" - else div id="fp" = text_field_tag 'forcetop', nil, :style => 'display: none;' section id="fp-banner" div class="inner" h2 SuitePro p #{l :welcome_suitepro} ul class="actions special" li #{l :label_login} #{l :welcome_discover} section id="one" class="frapper style1 special" div class="inner" header class="major" h2 A SIMPLE WAY TO GET WORK DONE  ;) p #{raw l :welcome_suitepro_is_redmine, :suitepro => 'SuitePro', :redmine => 'Redmine'} ul class="icons major"
  • Ruby
  • Project
  • Workflow
  • section id="two" class="frapper alt style2" section class="spotlight" div class="image" = image_tag '/themes/circlepro/images/pic01.jpg' div class="content" h2 #{raw l :welcome_spotlight_1_title} p #{l :welcome_spotlight_1_text} section class="spotlight" div class="image" = image_tag '/themes/circlepro/images/pic02.jpg' div class="content" h2 #{raw l :welcome_spotlight_2_title} p #{l :welcome_spotlight_2_text} section class="spotlight" div class="image" = image_tag '/themes/circlepro/images/pic03.jpg' div class="content" h2 #{raw l :welcome_spotlight_3_title} p #{l :welcome_spotlight_3_text} section id="three" class="frapper style3 special" div class="inner" header class="major" h2 #{l :welcome_other_features} ul class="features" li class="fp-icon fp-icon_4" h3 #{l :welcome_feature_1_title} p #{l :welcome_feature_1_text} li class="fp-icon fp-icon_5" h3 #{l :welcome_feature_2_title} p #{l :welcome_feature_2_text} li class="fp-icon fp-icon_6" h3 #{l :welcome_feature_3_title} p #{l :welcome_feature_3_text} li class="fp-icon fp-icon_7" h3 #{l :welcome_feature_4_title} p #{l :welcome_feature_4_text} li class="fp-icon fp-icon_8" h3 #{l :welcome_feature_5_title} p #{l :welcome_feature_5_text} li class="fp-icon fp-icon_9" h3 #{l :welcome_feature_6_title} p #{l :welcome_feature_6_text} section id="fp-login" class="frapper style4" div class="inner" div id="login-form" h2 #{l :label_login} = form_tag signin_path, onsubmit: 'return keepAnchorOnSignIn(this);' do = back_url_hidden_field_tag label for="username" #{l :field_login} = text_field_tag 'username', params[:username], :tabindex => '1' = password_field_tag 'password', nil, :tabindex => '2' - if Setting.openid? label for="openid_url" #{l :field_identity_url} = text_field_tag "openid_url", nil, :tabindex => '3' - if Setting.autologin? label for="autologin" #{l :label_stay_logged_in} = check_box_tag 'autologin', 1, false, :tabindex => 4 section id="fp-cta" class="frapper style4" div class="inner" header h2 #{l :welcome_any_questions} p #{l :welcome_please_contact} ul class="actions stacked" li #{l :welcome_contact} li #{l :welcome_about_me}