summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-03-07 08:39:47 +0200
committerAlon Levy <alon@pobox.com>2015-03-07 15:02:42 +0200
commit90c276f07f8c945eb16dc242af569ffd05f8b85e (patch)
tree2c46f67f364329090b8a492fac122f9495115690 /src
parent2746c5d10ca67fdfd31ead979d0ccd3ee03ebed6 (diff)
client: remove third-internship-proposal; Fixes #356
Diffstat (limited to 'src')
-rw-r--r--src/client/consts.js1
-rw-r--r--src/client/view/graph_view.js2
-rw-r--r--src/client/view/helpers.js6
3 files changed, 1 insertions, 8 deletions
diff --git a/src/client/consts.js b/src/client/consts.js
index 670b92b7..ff693d08 100644
--- a/src/client/consts.js
+++ b/src/client/consts.js
@@ -7,7 +7,6 @@ define(function() {
club: 'A shared club or project within the CRI',
skill: 'Ability or expertise you possess',
interest: 'Scientific skill or domain expertise you wish you had',
- 'third-internship-proposal': 'Create this to submit your third internship proposal',
internship: "Title of first or second internship you've done"
};
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index b6372307..464c6756 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -516,7 +516,7 @@ function GraphView(spec) {
var nodes = graph.nodes();
for (var i = 0; i < nodes.length; i++) {
var current = nodes[i];
- if (current.type === "third-internship-proposal") {
+ if (current.type === "internship") {
deliverables.push({
"id": nodes[i].id,
"startdate": nodes[i].start,
diff --git a/src/client/view/helpers.js b/src/client/view/helpers.js
index f01f812f..4e4bd58d 100644
--- a/src/client/view/helpers.js
+++ b/src/client/view/helpers.js
@@ -13,9 +13,6 @@ function customColor(type) {
case "skill":
color = '#fad900'; //yellow
break;
- case "third-internship-proposal":
- color = '#33c2e0'; //cyan
- break;
case "internship":
color = '#ff8b11'; //orange
break;
@@ -51,9 +48,6 @@ function customSize(type) {
case "skill":
size = 12;
break;
- case "third-internship-proposal":
- size = 12;
- break;
case "internship":
size = 12;
break;