#86 Parcel district column for all
* adds parcel district column for all major data objects * adds warning about intervention-revocation on index view of compensations * adds warning about intervention-revocation on detail view of related compensations
This commit is contained in:
@@ -245,14 +245,6 @@ def detail_view(request: HttpRequest, id: str):
|
||||
|
||||
parcels = intervention.get_underlying_parcels()
|
||||
|
||||
# Inform user about revocation
|
||||
if intervention.legal.revocations.exists():
|
||||
messages.error(
|
||||
request,
|
||||
_("This intervention has {} revocations").format(intervention.legal.revocations.count()),
|
||||
extra_tags="danger",
|
||||
)
|
||||
|
||||
context = {
|
||||
"obj": intervention,
|
||||
"compensations": compensations,
|
||||
|
||||
Reference in New Issue
Block a user