mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
If for some reason "All" view is deleted, allow people to create it again.
(<a href=http://www.nabble.com/all-view-disappeared-tt21380658.html>report</a>) git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14322 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
053e8e7b47
commit
20c13b724e
3 files changed
+8
-1
No files matched your search
@@ -75,7 +75,10 @@ public class AllView extends View {
|
||||
|
||||
@Override
|
||||
public boolean isInstantiable() {
|
||||
return false;
|
||||
for (View v : Hudson.getInstance().getViews())
|
||||
if(v instanceof AllView)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
public String getDisplayName() {
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
${%blurb}
|
||||
</div>
|
||||
@@ -0,0 +1 @@
|
||||
blurb=This view shows all the jobs on Hudson.
|
||||
Reference in new issue
Block a user