修改图片
This commit is contained in:
parent
19f351ef9c
commit
cafdfa67af
|
@ -2,6 +2,9 @@
|
||||||
class TagsController < ApplicationController
|
class TagsController < ApplicationController
|
||||||
|
|
||||||
before_filter :require_admin,:only => :show
|
before_filter :require_admin,:only => :show
|
||||||
|
#Added by nie
|
||||||
|
#before_filter :require_login,:only => :add_tag
|
||||||
|
#end
|
||||||
include ProjectsHelper
|
include ProjectsHelper
|
||||||
include IssuesHelper
|
include IssuesHelper
|
||||||
include UsersHelper
|
include UsersHelper
|
||||||
|
|
|
@ -1303,4 +1303,5 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
html.html_safe
|
html.html_safe
|
||||||
end
|
end
|
||||||
|
#end
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>">
|
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>">
|
||||||
<div id="note-<%= journal.indice %>">
|
<div id="note-<%= journal.indice %>">
|
||||||
<h4><%= link_to "##{journal.indice}", {:anchor => "note-#{journal.indice}"}, :class => "journal-link" %>
|
<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>
|
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
|
||||||
|
|
||||||
<% if journal.details.any? %>
|
<% if journal.details.any? %>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<% if members.any? %>
|
<% if members.any? %>
|
||||||
<% members.each do |member| %>
|
<% members.each do |member| %>
|
||||||
<div class="well">
|
<div class="well">
|
||||||
|
<!--Modified by nie-->
|
||||||
<% next if member.new_record? %>
|
<% next if member.new_record? %>
|
||||||
<% unless member.created_on.nil? %>
|
<% unless member.created_on.nil? %>
|
||||||
<%= content_tag "p", "#{format_date(member.created_on)}#{l(:label_member_since)}", :class => "float_right member_since" %>
|
<%= 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 |
Loading…
Reference in New Issue