gruppe-adler / nodebb-plugin-arma3-slotting

NodeBB plugin: create an ORBAT-like structure and have your users select a slot
2 stars 2 forks source link

Show number of slotted players per <company> #44

Open McDiod opened 7 years ago

McDiod commented 7 years ago

Useful for:

Edit: maybe display this under "Details" instead?

Fusselwurm commented 7 years ago

good idea. we could generally show the number of slotted players in every sub unit (excepting fireteams – i think it's awkward to add something there, UI wise)

nomisum commented 7 years ago

if i get an endpoint i would implement the frontend for this

Fusselwurm commented 7 years ago

I think I'll just add slottedPlayers: <number> to the match / unit models

Fusselwurm commented 7 years ago

@nomisum every unit has a slottedPlayerCount attribute now, which should be usable in the templates. (Currently, it's only used for the whole match)