Skip to content

Commit

Permalink
feat(ns): 文件列表增加所有者和组信息
Browse files Browse the repository at this point in the history
- 在文件列表模板中添加所有者和组信息
- 更新数据模型以包含 owner 和 group 字段
  • Loading branch information
weibaohui committed Nov 8, 2024
1 parent 8da9dde commit ba26900
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/pages/ns/pod.json
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@
"size": "${event.data.item.size}",
"type": "${event.data.item.type}",
"modTime": "${event.data.item.modTime}",
"owner": "${event.data.item.owner}",
"group": "${event.data.item.group}",
"permissions": "${event.data.item.permissions}"
}
}
Expand Down Expand Up @@ -602,7 +604,7 @@
},
{
"type": "tpl",
"tpl": " &nbsp;<span class='text-primary '>${path}</span> &nbsp;<span class='text-primary '>${size|formatBytes}</span> &nbsp;<span class='text-primary '>${modTime|formatLsShortDate}</span> &nbsp;<span class='text-primary '>${permissions}</span>",
"tpl": " &nbsp;<span class='text-primary '>${path}</span> &nbsp;<span class='text-primary '>${size|formatBytes}</span> &nbsp;<span class='text-primary '>${modTime|formatLsShortDate}</span> &nbsp;<span class='text-primary '>${permissions}</span>&nbsp;<span class='text-primary '>${owner}:${group}</span>",
"visibleOn": "${path}"
}
]
Expand Down

0 comments on commit ba26900

Please sign in to comment.