提交 efae3399 编写于 作者: K kohsuke

views can be renamed.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3702 71c3de6d-444a-0410-be80-ed276b4c234a
上级 81acecb3
......@@ -26,7 +26,7 @@ public class ListView extends View {
/*package*/ final Set<String> jobNames = new TreeSet<String>();
/**
* PluginName of this view.
* Name of this view.
*/
private String name;
......@@ -109,9 +109,11 @@ public class ListView extends View {
description = Util.nullify(req.getParameter("description"));
name = req.getParameter("name");
owner.save();
rsp.sendRedirect(".");
rsp.sendRedirect("../"+ req.getParameter("name"));
}
/**
......
......@@ -6,6 +6,9 @@
<st:include page="sidepanel.jelly" />
<l:main-panel>
<f:form method="post" action="configSubmit">
<f:entry title="Name">
<f:textbox name="name" value="${it.viewName}" />
</f:entry>
<f:entry title="Description" help="/help/view-config/description.html">
<textarea class="setting-input" name="description"
rows="5" style="width:100%">${it.description}</textarea>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册