修改图片

This commit is contained in:
nieguanghui 2013-08-05 08:44:19 +08:00
parent 19f351ef9c
commit cafdfa67af
5 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,9 @@
class TagsController < ApplicationController
before_filter :require_admin,:only => :show
#Added by nie
#before_filter :require_login,:only => :add_tag
#end
include ProjectsHelper
include IssuesHelper
include UsersHelper

View File

@ -1303,4 +1303,5 @@ module ApplicationHelper
end
html.html_safe
end
#end
end

View File

@ -3,7 +3,8 @@
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>">
<div id="note-<%= journal.indice %>">
<h4><%= link_to "##{journal.indice}", {:anchor => "note-#{journal.indice}"}, :class => "journal-link" %>
<%= avatar(journal.user, :size => "24") %>
<!-- <%= avatar(journal.user, :size => "24") %> -->
<%= image_tag url_to_avatar(journal.user), :class => 'avatar' %>
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
<% if journal.details.any? %>

View File

@ -7,7 +7,7 @@
<% if members.any? %>
<% members.each do |member| %>
<div class="well">
<!--Modified by nie-->
<% next if member.new_record? %>
<% unless member.created_on.nil? %>
<%= content_tag "p", "#{format_date(member.created_on)}#{l(:label_member_since)}", :class => "float_right member_since" %>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 MiB

After

Width:  |  Height:  |  Size: 1.3 KiB