Skip to content

Commit

Permalink
f2
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Nov 30, 2024
1 parent b87780e commit 915c58d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tilecloud_chain/templates/admin_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ <h2>Launch generation</h2>
<span id="result"></span>
%endif

<!---->
%if request.identity.is_auth:
<h3>Usage</h3>
<h4><code>generate-tiles</code></h4>
<p>Generate the tiles.</p>
Expand Down Expand Up @@ -167,6 +169,7 @@ <h4><code>generate-tiles</code></h4>
</li>
<li><code>--test N</code>: test with generating N tiles</li>
</ul>
%endif

<h4><code>generate-controller --generate-legend-images</code></h4>
<p>Generate the legend images.</p>
Expand Down
2 changes: 1 addition & 1 deletion tilecloud_chain/tests/test_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_should_not_commit():
[
pytest.param("http://application:8080/admin/", "not-login", 250, 800, id="not-login"),
pytest.param("http://application:8080/admin/test", "test", 800, 800, id="test-not-login"),
pytest.param("http://app_test_user:8080/admin", "index", 500, 1000, id="index"),
pytest.param("http://app_test_user:8080/admin", "index", 1000, 1000, id="index"),
pytest.param("http://app_test_user:8080/admin/test", "test", 800, 800, id="test"),
],
)
Expand Down

0 comments on commit 915c58d

Please sign in to comment.