renamed setting's copy to Max Topic Age
Dieser Commit ist enthalten in:
Ursprung
bc2cc85804
Commit
6754d744f0
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
|
@ -22,7 +22,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="validation-section">
|
<div class="validation-section">
|
||||||
<div class="setting-label">
|
<div class="setting-label">
|
||||||
<label>{{i18n 'admin.wizard.field.validations.time_after'}}</label>
|
<label>{{i18n 'admin.wizard.field.validations.max_topic_age'}}</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="setting-value">
|
<div class="setting-value">
|
||||||
{{input type="number" class="time-n-value" value=props.time_n_value}}
|
{{input type="number" class="time-n-value" value=props.time_n_value}}
|
||||||
|
|
|
@ -184,7 +184,7 @@ en:
|
||||||
above: "Above"
|
above: "Above"
|
||||||
below: "Below"
|
below: "Below"
|
||||||
categories: "Categories"
|
categories: "Categories"
|
||||||
time_after: "Time After"
|
max_topic_age: "Max Topic Age"
|
||||||
time_units:
|
time_units:
|
||||||
days: "Days"
|
days: "Days"
|
||||||
weeks: "Weeks"
|
weeks: "Weeks"
|
||||||
|
|
|
@ -30,7 +30,7 @@ describe ::CustomWizard::RealtimeValidation::SimilarTopics do
|
||||||
expect(result.items.length).to eq(1)
|
expect(result.items.length).to eq(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "filters topics based on Time After setting" do
|
it "filters topics based on Max Topic Age setting" do
|
||||||
topic.update!(created_at: 23.hours.ago)
|
topic.update!(created_at: 23.hours.ago)
|
||||||
cat_topic.update!(created_at: 2.days.ago)
|
cat_topic.update!(created_at: 2.days.ago)
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren