From 23be95649f920f7794def0e39e91605b87c546a3 Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Tue, 13 Aug 2013 15:52:22 +0800 Subject: [PATCH] =?UTF-8?q?tag=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/tags/_show_projects.html.erb | 14 ++++++-------- app/views/tags/index.html.erb | 10 +++++----- app/views/welcome/index.html.erb | 2 +- public/stylesheets/application.css | 14 ++++++++++++++ 4 files changed, 26 insertions(+), 14 deletions(-) diff --git a/app/views/tags/_show_projects.html.erb b/app/views/tags/_show_projects.html.erb index 94d61c3ff..01d2161e7 100644 --- a/app/views/tags/_show_projects.html.erb +++ b/app/views/tags/_show_projects.html.erb @@ -1,15 +1,13 @@
<% if projects_results.size > 0 %>
-

Projects:

- +

Projects:

<% projects_results.each do |prj| %> -
  • - 项目名称:<%= link_to "#{prj.name}",:controller => "projects",:action => "show",:id => prj.id %> -
    - 项目描述:<%= prj.description %>; - -
  • +
    +

    项目名称:<%= link_to "#{prj.name}",:controller => "projects",:action => "show",:id => prj.id %>

    +

    项目描述:<%= prj.description %>;

    +
    +
    <% end %> <% end %> diff --git a/app/views/tags/index.html.erb b/app/views/tags/index.html.erb index af1fd38ca..83a30af13 100644 --- a/app/views/tags/index.html.erb +++ b/app/views/tags/index.html.erb @@ -1,13 +1,13 @@ -
    +
    • - Selected Tags + Selected Tags
    • <%= render :partial => "selected_tags",:locals => {:selected_tags => $selected_tags,:show_flag => @obj_flag}%>
    • - Related Tags + Related Tags
    -
    -

    Search Results

    +
    +

    Search Results

    Tag统计: Issue(<%= @issues_tags_num %>)| diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index fe8602c89..b563cc65e 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -189,7 +189,7 @@ software development and software crowdsourcing. - + diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 41ae7eb28..f17af3147 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -11,6 +11,15 @@ h4 {border-bottom: 1px dotted #bbb;} /*new by huang*/ /**/ + +.tag_left{ + float: left; + width: 30%; +} +.tag_right{ + float: right; + width: 68%; +} .welcome_logo{ float: left; padding-left: 5px; @@ -207,6 +216,11 @@ ul.tool li{list-style-type:none; line-height: 1.5em; } +.font_description2{ + font-size:13px; + line-height: 1.5em; + padding-left: 10px; +} .font_tool{ font-family:微软雅黑; font-size:14px;
    <%= l(:label_welcome) %> <%=link_to User.current.name, user_path(User.current) %> <%= l(:label_join) %><%= l(:label_welcome) %> <%=link_to User.current.lastname< <%= l(:label_join) %>
    <%=link_to image_tag(url_to_avatar(User.current), :class => 'avatar'), user_path(User.current) %>