Hide unimplemented feature buttons and indicators with feature flags
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user