From 5be704efe44c655f7940a000abd6e6aeee00ff4f Mon Sep 17 00:00:00 2001 From: Bogdan Ciobanu Date: Thu, 16 May 2013 11:44:42 +0300 Subject: [PATCH 1/2] Added the new url to params (#149) --- app/modules/assignments_list_widget.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/modules/assignments_list_widget.coffee b/app/modules/assignments_list_widget.coffee index b9e9f42..37c592c 100644 --- a/app/modules/assignments_list_widget.coffee +++ b/app/modules/assignments_list_widget.coffee @@ -11,6 +11,7 @@ define ['cs!widget'], (Widget) -> as this data channel is actually a Backbone Collection. ### params= + url: Utils.render_url(Utils.current_url() + "#assignments/") assignments: assignments_params.collection.toJSON() @renderLayout(params,false) From 46f362ca4678846f9727e28d141db1fd8686934c Mon Sep 17 00:00:00 2001 From: Bogdan Ciobanu Date: Thu, 16 May 2013 11:45:18 +0300 Subject: [PATCH 2/2] Made the name of the assignment link to assignment's page (#149) --- app/templates/assignments_list_widget.hjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/templates/assignments_list_widget.hjs b/app/templates/assignments_list_widget.hjs index 9b15685..57f06f2 100644 --- a/app/templates/assignments_list_widget.hjs +++ b/app/templates/assignments_list_widget.hjs @@ -1,6 +1,7 @@ +{{url}} {{#each assignments}} - {{name}} + {{name}} {{deadline}} {{/each}}