公共贴吧附件资源修改为未登录也可以下载,项目列表私有标签错误
This commit is contained in:
parent
489f998530
commit
8cc14546f8
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue