Skip to content

Commit

Permalink
Replace twitter with mastodon (#511)
Browse files Browse the repository at this point in the history
* Replace twitter with mastodon

* Remove unwanted migration file
  • Loading branch information
Xpirix authored Jan 28, 2025
1 parent 024ee31 commit 4e4a8d2
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion playwright/ci-test/tests/01-landing-page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test('landing page', async ({ page }) => {

await expect(page.locator('header')).toContainText('Sustaining Members');

await expect(page.locator('#twitter').getByRole('link')).toBeVisible();
await expect(page.locator('#mastodon').getByRole('link')).toBeVisible();

await expect(page.locator('#facebook').getByRole('link')).toBeVisible();

Expand Down
2 changes: 1 addition & 1 deletion playwright/ci-test/tests/02-plugins.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ test('plugins', async ({ page }) => {

await expect(page.getByRole('contentinfo')).toBeVisible();

await expect(page.locator('#twitter').getByRole('link')).toBeVisible();
await expect(page.locator('#mastodon').getByRole('link')).toBeVisible();

await expect(page.locator('#facebook').getByRole('link')).toBeVisible();

Expand Down
2 changes: 1 addition & 1 deletion playwright/ci-test/tests/09-planet-tab.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ test('test planet tab', async ({ page }) => {

await expect(page.locator('h3')).toContainText('Sustaining Members');

await expect(page.locator('#twitter').getByRole('link')).toBeVisible();
await expect(page.locator('#mastodon').getByRole('link')).toBeVisible();

await expect(page.locator('#facebook').getByRole('link')).toBeVisible();

Expand Down
3 changes: 3 additions & 0 deletions qgis-app/static/style/new/images/footer-mastodon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed qgis-app/static/style/new/images/footer-twitter.png
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ select#languages option {
padding: 0;
width: 30px;
}
.footer #twitter {
background: url("images/footer-twitter.png") no-repeat scroll 0 0 transparent;
.footer #mastodon {
background: url("images/footer-mastodon.svg") no-repeat scroll 0 0 transparent;
}
.footer #facebook {
background: url("images/footer-facebook.png") no-repeat scroll 0 0 transparent;
Expand Down
4 changes: 2 additions & 2 deletions qgis-app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<link rel="stylesheet" href="{% static "style/new/basic.css" %}" type="text/css" />
<link rel="stylesheet" href="{% static "bootstrap/css/bootstrap.min.css" %}" type="text/css" />
<link rel="stylesheet" href="{% static "style/new/qgis-style-updated.css" %}" type="text/css" />
<link rel="stylesheet" href="{% static "style/new/qgis-style-v1.0.css" %}" type="text/css" />
<link rel="stylesheet" href="{% static "style/new/bootstrap-sphinx.css" %}" type="text/css" />
<link rel="stylesheet" href="{% static "bootstrap/css/bootstrap-responsive.min.css" %}" type="text/css" />
<link rel="stylesheet" href="{% static "font-awesome/css/font-awesome.min.css" %}" />
Expand Down Expand Up @@ -161,7 +161,7 @@ <h5>Silver Sponsors</h5>
<div class="container">
<div>
<ul class="unstyled inline" id="social">
<li id="twitter"><a href="https://twitter.com/qgis" class="external"><div></div></a></li>
<li id="mastodon"><a href="https://fosstodon.org/@qgis" class="external"><div></div></a></li>
<li id="facebook"><a href="https://www.facebook.com/QGIS-298112000235096" class="external"><div></div></a></li>
<li id="github"><a href="https://github.com/qgis/QGIS-Django" class="external"><div></div></a></li>
</ul>
Expand Down

0 comments on commit 4e4a8d2

Please sign in to comment.