[cleanup] projects
diff --git a/erpnext/templates/includes/project_row.html b/erpnext/templates/includes/projects/project_row.html
similarity index 86%
rename from erpnext/templates/includes/project_row.html
rename to erpnext/templates/includes/projects/project_row.html
index fc264c1..fcd0e22 100644
--- a/erpnext/templates/includes/project_row.html
+++ b/erpnext/templates/includes/projects/project_row.html
@@ -3,13 +3,13 @@
<a class="no-decoration" href="/projects?project={{ doc.name }}">
<div class="row">
<div class="col-xs-4">
-
+
{{ doc.name }}
</div>
<div class="col-xs-4">
{% if doc.percent_complete %}
<div class="progress" style="margin-bottom: 0!important; margin-top: 10px!important; height:5px;">
- <div class="progress-bar progress-bar-warning" role="progressbar"
+ <div class="progress-bar progress-bar-{{ "warning" if doc.percent_complete|round < 100 else "success"}}" role="progressbar"
aria-valuenow="{{ doc.percent_complete|round|int }}"
aria-valuemin="0" aria-valuemax="100" style="width:{{ doc.percent_complete|round|int }}%;">
</div>
diff --git a/erpnext/templates/includes/projects/timeline.html b/erpnext/templates/includes/projects/timeline.html
deleted file mode 100644
index 605404b..0000000
--- a/erpnext/templates/includes/projects/timeline.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{% for timeline in doc.timelines %}
- <article class="timeline-entry">
- <div class="timeline-entry-inner">
- <div class="timeline-icon {{ "bg-danger" if ((timeline.reference_name).startswith('ISS') and (timeline.subject).startswith('Open')) else "bg-warning" if ((timeline.reference_name).startswith('TASK') and (timeline.subject).startswith('Open')) else "bg-success" if (timeline.subject).startswith('Closed') else "bg-info"}}">
- </div>
- <div class="timeline-label">
- <span class="avatar avatar-small" title="{{ timeline.modified_by }}"> <img src="{{ timeline.user_image }}"></span>
- <span class='indicator'>
- {{timeline.reference_name}} {{timeline.subject }}
- </span>
- <span class='indicator pull-right'>
- {{ frappe.utils.pretty_date(timeline.creation) }}
- </span>
- </div>
- </div>
- </article>
-{% endfor %}
\ No newline at end of file
diff --git a/erpnext/templates/pages/projects.html b/erpnext/templates/pages/projects.html
index 0663dbf..6ecdfb6 100644
--- a/erpnext/templates/pages/projects.html
+++ b/erpnext/templates/pages/projects.html
@@ -38,7 +38,7 @@
<div class="col-xs-6">
{% if doc.percent_complete %}
<div class="progress progress-hg">
- <div class="progress-bar progress-bar-warning active" role="progressbar"
+ <div class="progress-bar progress-bar-{{ "warning" if doc.percent_complete|round < 100 else "success" }} active" role="progressbar"
aria-valuenow="{{ doc.percent_complete|round|int }}"
aria-valuemin="0" aria-valuemax="100" style="width:{{ doc.percent_complete|round|int }}%;">
</div>