-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add routes for issues and pr views. Closes #6
- Loading branch information
Marios Antonoudiou
committed
Mar 12, 2016
1 parent
2257395
commit 4c018cc
Showing
5 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template name="issuesIndex"> | ||
<h1>Issues index page</h1> | ||
|
||
<ul> | ||
<li>User: {{user}}</li> | ||
<li>Project: {{project}}</li> | ||
<li>Url: <a href="{{example}}" target="_blank">{{example}}</a></li> | ||
</ul> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Template.issuesIndex.helpers({ | ||
example: function() { | ||
return 'https://github.com/' + this.user + '/' + this.project + '/issues'; | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template name="pullsIndex"> | ||
<h1>Pull Requests index page</h1> | ||
|
||
<ul> | ||
<li>User: {{user}}</li> | ||
<li>Project: {{project}}</li> | ||
<li>Url: <a href="{{example}}" target="_blank">{{example}}</a></li> | ||
</ul> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Template.pullsIndex.helpers({ | ||
example: function() { | ||
return 'https://github.com/' + this.user + '/' + this.project + '/issues'; | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters