mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
init project
This commit is contained in:
7
app/views/users/system_update.json.jbuilder
Normal file
7
app/views/users/system_update.json.jbuilder
Normal file
@@ -0,0 +1,7 @@
|
||||
if @notice && @notice.end_time > Time.now
|
||||
json.system_update true
|
||||
json.system_score @notice.notes.rstrip
|
||||
json.(@notice, :subject, :start_time, :end_time)
|
||||
else
|
||||
json.system_update false
|
||||
end
|
||||
Reference in New Issue
Block a user