Add empty hint for home timelines
This commit is contained in:
parent
b2220cf38b
commit
3c3b9a7719
|
@ -1,6 +1,9 @@
|
||||||
#timeline{ data: { controller: "navigation" } }
|
#timeline{ data: { controller: "navigation" } }
|
||||||
%button.d-none{ data: { hotkey: "j", action: "navigation#down" } }
|
%button.d-none{ data: { hotkey: "j", action: "navigation#down" } }
|
||||||
%button.d-none{ data: { hotkey: "k", action: "navigation#up" } }
|
%button.d-none{ data: { hotkey: "k", action: "navigation#up" } }
|
||||||
|
- if @timeline.empty?
|
||||||
|
= render "shared/empty", type: "timeline"
|
||||||
|
|
||||||
- @timeline.each do |answer|
|
- @timeline.each do |answer|
|
||||||
= render "answerbox", a: answer
|
= render "answerbox", a: answer
|
||||||
|
|
||||||
|
|
|
@ -581,6 +581,12 @@ en:
|
||||||
moderation:
|
moderation:
|
||||||
reports: "There are no open reports right now!"
|
reports: "There are no open reports right now!"
|
||||||
inbox: "This users inbox is empty."
|
inbox: "This users inbox is empty."
|
||||||
|
timeline:
|
||||||
|
heading: "Your feed is empty!"
|
||||||
|
text: "Start answering questions or follow some people to fill your feed with answers."
|
||||||
|
actions:
|
||||||
|
inbox: "Go to your inbox"
|
||||||
|
public: "Go to the public timeline"
|
||||||
inbox:
|
inbox:
|
||||||
heading: "Your inbox is empty!"
|
heading: "Your inbox is empty!"
|
||||||
text: "To start answering, generate a question or share your profile on other sites to get questions."
|
text: "To start answering, generate a question or share your profile on other sites to get questions."
|
||||||
|
|
Loading…
Reference in New Issue