To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / my / page.html.erb @ 1330:441b66f148b6

History | View | Annotate | Download (1.35 KB)

1
<% content_for :header_tags do %>
2
    <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %>
3
<% end %>
4

    
5
<div class="contextual">
6
    <%= link_to l(:label_personalize_page), :action => 'page_layout' %>
7
    <%= ('| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add')).html_safe if User.current.allowed_to?(:add_project, nil, :global => true) %>
8
</div>
9

    
10
<h2><%=l(:label_my_page)%></h2>
11

    
12
<div id="list-top">
13
  <% @blocks['top'].each do |b|
14
     next unless MyController::BLOCKS.keys.include? b  %>
15
  <div class="mypage-box">
16
    <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
17
  </div>
18
  <% end if @blocks['top'] %>
19
</div>
20

    
21
<div id="list-left" class="splitcontentleft">
22
  <% @blocks['left'].each do |b|
23
     next unless MyController::BLOCKS.keys.include? b %>
24
  <div class="mypage-box">
25
    <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
26
  </div>
27
  <% end if @blocks['left'] %>
28
</div>
29

    
30
<div id="list-right" class="splitcontentright">
31
  <% @blocks['right'].each do |b|
32
     next unless MyController::BLOCKS.keys.include? b %>
33
  <div class="mypage-box">
34
    <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
35
  </div>
36
  <% end if @blocks['right'] %>
37
</div>
38

    
39
<%= context_menu issues_context_menu_path %>
40

    
41
<% html_title(l(:label_my_page)) -%>