Hide unimplemented feature buttons and indicators with feature flags

This commit is contained in:
2018-08-10 13:32:58 +02:00
parent aceb0453fc
commit c642774316
4 changed files with 41 additions and 15 deletions
+5
View File
@@ -6,6 +6,11 @@ const VALI_EMAIL = 'string|email|max:255';
const VALI_TEXT = 'string|max:4095';
const VALI_LINE = 'string|max:255';
const FEATURE_FORKS = false;
const FEATURE_FAVES = false;
const FEATURE_TABLE_COMMENTS = false;
const FEATURE_PROPOSALS = false;
// global helpers
function authed() {
return ! \Auth::guest();