{{$isIgnoring := and $.IsSigned $.RepoWatch.IsIgnoring}} {{$buttonText := ctx.Locale.Tr (Iif $isIgnoring "repo.ignoring" (Iif $.RepoWatch.IsWatching "repo.watching" "repo.watch"))}} {{$count := CountFmt .Repository.NumWatches}}