html-ui.project-tools
As of snapshot UPgVfUfp48. See the latest
- description
- The form to change the descriptions of the project on its page (definy_commit_parts with project_descriptions)
- type
Fn(language: String, project: String, branch: String, response: @html-ui.response) -> List<@html.node>
- expression
fn(language$990, project$0, branch$1, response$2) => @core.list-concat( left: [ @html.element( name: "h2", attributes: [], children: [ @html.text( text: @html-ui.text( language: $990, en: "Project description", ja: "プロジェクトの説明", eo: "Priskribo de la projekto" ) ) ] ) ], right: @html-ui.tool-form( tool: "definy_commit_parts", then: @core.string-join(items: ["/p/", $0, "/", $1], separator: ""), confirm: "", fields: @core.list-concat( left: [ @html-ui.hidden(name: "project", value: $0), @html-ui.hidden(name: "branch", value: $1), @html-ui.hidden(name: "message", value: "Change the project description") ], right: @html-ui.description-fields( language: $990, prefix: "project_descriptions", texts: @definy.mcp-read-descriptions(value: @definy.json-get(value: $2.json, key: "descriptions")) ) ), button: @html-ui.text(language: $990, en: "Save", ja: "保存", eo: "Konservi") ) )
- visibility
- public
html-ui.project-tools (project html-ui, branch main, snapshot UPgVfUfp48oOYhAXmpLTGVrvRcl4DyKOa4PyXm_76qo) id: mhVKjR0OkfxC5fdBBEeECvnCJwMYcUGU5gkSEZhX_-0 content hash: szF5JevNvC2ZZ7n28wwFFH1vBf0TRrZtgaEGFWRThOI