heartwood every commit a ring

Remove generate report from public view

95c120b6 by Isaac Bythewood · 3 years ago

modified package.json
@@ -8,7 +8,7 @@    "manage:createsuperuser": "pipenv run python manage.py createsuperuser",    "webpack:development": "nodemon --watch webpack.config.js --exec 'webpack --config webpack.config.js --mode development --watch --devtool source-map'",    "webpack:production": "webpack --config webpack.config.js --mode production",    "pull:db": "scp `git config --get remote.origin.url | cut -d ':' -f 1`:/srv/data/analytics/db.sqlite3 .",    "pull:db": "scp `git config --get remote.origin.url | cut -d ':' -f 1`:/srv/data/analytics/db/db.sqlite3 .",    "pull:media": "scp -r `git config --get remote.origin.url | cut -d ':' -f 1`:/srv/data/analytics/media .",    "format": "concurrently --raw yarn:format:python",    "format:python": "pipenv run black --exclude '/(\\.venv|\\.git|migrations|node_modules)/' ."
modified properties/templates/properties/property.html
@@ -50,10 +50,10 @@          <button type="button" class="btn btn-sm btn-primary ms-0 ms-lg-3 my-1" data-bs-toggle="modal" data-bs-target="#exampleModal" onclick="collectorQueue.push({event: 'see_site_tag'})">            Get site tag          </button>          {% endif %}          <a href="{% url 'property' property.id %}?report" target="_blank" class="btn btn-sm btn-primary ms-0 ms-lg-3 my-1">            Generate report          </a>          {% endif %}          {% if not property.is_protected and user.is_authenticated %}          <button type="button" class="btn btn-sm btn-outline-danger ms-1 ms-lg-3 my-1" data-bs-toggle="modal" data-bs-target="#delete-modal-{{ property.id }}" onclick="collectorQueue.push({event: 'delete_property'})">            Delete