footer.js 544 B

12345678910111213
  1. Misago.FooterController = Ember.Controller.extend({
  2. showFooterTermsLink: function() {
  3. return this.get('settings.terms_of_service') || this.get('settings.terms_of_service_link');
  4. }.property('settings'),
  5. showFooterPrivacyLink: function() {
  6. return this.get('settings.privacy_policy') || this.get('settings.privacy_policy_link');
  7. }.property('settings'),
  8. showFooterNav: function() {
  9. return this.get('showFooterTermsLink') || this.get('showFooterPrivacyLink');
  10. }.property('showFooterTermsLink', 'showFooterPrivacyLink')
  11. });