Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
add all good message
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldaverill committed Nov 8, 2015
1 parent d64d1d5 commit 42b5c01
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .versions
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ [email protected]
[email protected]
[email protected]
[email protected]
fourquet:[email protected].2
fourquet:[email protected].3
[email protected]
gwendall:[email protected]
[email protected]
Expand Down
2 changes: 2 additions & 0 deletions anti-gravity.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
App Version: {{package.currentAppVersion}}<br>
Latest Version: {{package.latestMeteorVersion}}<br>
Publish Date: {{package.publishDate}}<br><br>
{{else}}
{{mainContent.message}}
{{/each}}
{{else}}
Checking...
Expand Down
12 changes: 9 additions & 3 deletions anti-gravity.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,15 @@ Template.Constellation_anti_gravity_menu.events({
error: error,
});
} else {
mainContent.set({
packages: result,
});
if (result.length > 0) {
mainContent.set({
packages: result,
});
} else {
mainContent.set({
message: 'All Good!',
});
}
}
});
},
Expand Down
2 changes: 1 addition & 1 deletion example/.meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ [email protected]
[email protected]
[email protected]
fortawesome:[email protected]_2
fourquet:[email protected].1
fourquet:[email protected].3
[email protected]
gwendall:[email protected]
[email protected]
Expand Down
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
name: 'fourquet:anti-gravity',
version: '1.0.2',
version: '1.0.3',
summary: 'Plugin for Constellation for finding out-of-date packages.',
git: 'https://github.com/fourquet/meteor-package-anti-gravity',
documentation: 'README.md',
Expand Down

0 comments on commit 42b5c01

Please sign in to comment.