Skip to content
Snippets Groups Projects
Commit c237f248 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Make absence reason select card single-line

parent e6f0c517
No related branches found
No related tags found
1 merge request!363Resolve "Add absence overview page"
Pipeline #190850 failed
...@@ -22,20 +22,24 @@ ...@@ -22,20 +22,24 @@
v-show="pageType === 'absences' && selectedParticipations.length" v-show="pageType === 'absences' && selectedParticipations.length"
> >
<v-card-text> <v-card-text>
{{ <v-row align="center">
$tc( <v-col cols="6">
"alsijil.coursebook.absences.action_for_selected", {{
selectedParticipations.length, $tc(
) "alsijil.coursebook.absences.action_for_selected",
}} selectedParticipations.length,
)
}}
</v-col>
<v-col cols="6">
<absence-reason-buttons
allow-empty
empty-value="present"
@input="handleMultipleAction"
/>
</v-col>
</v-row>
</v-card-text> </v-card-text>
<v-card-actions>
<absence-reason-buttons
allow-empty
empty-value="present"
@input="handleMultipleAction"
/>
</v-card-actions>
</v-card> </v-card>
</v-expand-transition> </v-expand-transition>
</template> </template>
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
"no_data": "No lessons for the selected groups and courses in this period", "no_data": "No lessons for the selected groups and courses in this period",
"no_results": "No search results for {search}", "no_results": "No search results for {search}",
"absences": { "absences": {
"action_for_selected": "Action for one selected participation | Action for {count} selected participations" "action_for_selected": "Mark selected participant as: | Mark {count} selected participants as"
} }
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment