This commit is contained in:
linhk 2014-09-16 11:42:06 +08:00
commit 185bbf3cf7
5 changed files with 11 additions and 4 deletions

View File

@ -361,7 +361,7 @@ private
def login_without_softapplication
referer = request.headers['Referer']
require_login unless referer =~ /softapplication/
require_login unless referer =~ /softapplication/ || referer =~ /memos/
end
def renderTag

View File

@ -1,4 +1,5 @@
class ContestNotificationController < ApplicationController
layout 'contest_base'
def show
@notification = ContestNotification.find(params[:id])
end

View File

@ -54,6 +54,11 @@ class JournalsController < ApplicationController
end
(render_404; return false) unless @issue && @detail
@diff = Redmine::Helpers::Diff.new(@detail.value, @detail.old_value)
respond_to do |format|
format.html {
render :layout => 'project_base'
}
end
end
def new

View File

@ -181,7 +181,7 @@ module ProjectsHelper
# unless project.is_public == 1
if project.is_public != 1
s = "<span class='private_project'>#{l(:lable_private)}</span>".html_safe
s = "<span class='private_project'>#{l(:label_private)}</span>".html_safe
else
s = "".html_safe
end
@ -197,7 +197,7 @@ module ProjectsHelper
if !project.is_public
# end longjun
s = "<span class='private_project'>#{l(:lable_private)}</span>".html_safe
s = "<span class='private_project'>#{l(:label_private)}</span>".html_safe
else
s = "".html_safe
end

View File

@ -23,7 +23,8 @@
)if !@memo.locked? && User.current.logged? %>
<%= link_to(
image_tag('edit.png'),
#image_tag('edit.png'),
l(:button_edit),
{:action => 'edit', :id => @memo},
:method => 'get',
:title => l(:button_edit)