Skip to content

Commit 67d59bc

Browse files
committed
don't display new projects
1 parent 4076799 commit 67d59bc

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

manager_dashboard/manager_dashboard/js/project-management.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function updateTableView() {
109109
.draw();
110110
}
111111

112-
getProjects("new")
112+
// getProjects("new")
113113
getProjects("active")
114114
getProjects("inactive")
115115
getProjects("finished")
@@ -151,7 +151,8 @@ function changeProjectIsFeatured() {
151151
}
152152

153153

154-
status_array = ["new", "active", "inactive", "finished"]
154+
//status_array = ["new", "active", "inactive", "finished"]
155+
status_array = ["active", "inactive", "finished", "archived"]
155156

156157
for (var i = 0; i < status_array.length; i++) {
157158
status = status_array[i]

manager_dashboard/manager_dashboard/manage.html

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -91,25 +91,26 @@ <h3>Please <a href="index.html">log in</a> first.</h3>
9191

9292
<!-- manage existing projects -->
9393
<div class="row justify-content-center" id="project-management" style="display: block">
94-
<div class="col-md-12">
95-
<div id="new-projects" class="col-md-12 project-data">
96-
<h2>New Projects</h2>
97-
<p>These projects have just been created and no mapping has happened yet.</p>
98-
<table id="projectsTable-new" class="table table-striped table-bordered">
99-
<thead>
100-
<tr class="thead-inverse">
101-
<th>Project ID</th>
102-
<th>Name</th>
103-
<th>Project Type</th>
104-
<th>Progress</th>
105-
<th>Change Status</th>
106-
</tr>
107-
</thead>
108-
<tbody>
109-
<!-- will be added by function -->
110-
</tbody>
111-
</table>
112-
</div>
94+
<!-- <div class="col-md-12">-->
95+
<!-- <div id="new-projects" class="col-md-12 project-data">-->
96+
<!-- <h2>New Projects</h2>-->
97+
<!-- <p>These projects have just been created and no mapping has happened yet.</p>-->
98+
<!-- <table id="projectsTable-new" class="table table-striped table-bordered">-->
99+
<!-- <thead>-->
100+
<!-- <tr class="thead-inverse">-->
101+
<!-- <th>Project ID</th>-->
102+
<!-- <th>Name</th>-->
103+
<!-- <th>Project Type</th>-->
104+
<!-- <th>Progress</th>-->
105+
<!-- <th>Change Status</th>-->
106+
<!-- </tr>-->
107+
<!-- </thead>-->
108+
<!-- <tbody>-->
109+
<!-- &lt;!&ndash; will be added by function &ndash;&gt;-->
110+
<!-- </tbody>-->
111+
<!-- </table>-->
112+
<!-- </div>-->
113+
113114
<div id="active-projects" class="col-md-12 project-data">
114115
<h2>Active Projects</h2>
115116
<p>These projects are currently visible in the MapSwipe app.</p>

0 commit comments

Comments
 (0)