FEATURE: enable users to choose unseen as a default view (#14242)
This commit is contained in:
parent
34ff7bfeeb
commit
8f9e692e41
|
@ -26,6 +26,7 @@ const USER_HOMES = {
|
|||
4: "new",
|
||||
5: "top",
|
||||
6: "bookmarks",
|
||||
7: "unseen",
|
||||
};
|
||||
|
||||
const TEXT_SIZES = ["smallest", "smaller", "normal", "larger", "largest"];
|
||||
|
|
|
@ -168,6 +168,7 @@ class UserOption < ActiveRecord::Base
|
|||
when 4 then "new"
|
||||
when 5 then "top"
|
||||
when 6 then "bookmarks"
|
||||
when 7 then "unseen"
|
||||
else SiteSetting.homepage
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue