Skip to content

Commit

Permalink
Merge pull request #5053 from owncloud/share-buttons
Browse files Browse the repository at this point in the history
Change appearance of the share action buttons
  • Loading branch information
JammingBen authored Apr 30, 2021
2 parents cb2c278 + da989c5 commit d3ab86d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/enhancement-share-action-buttons
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: Share action button appearance

Changed the appearance of the "accept/decline share" buttons in the "Shared With Me" file list
so they actually look like buttons.

https://github.com/owncloud/web/pull/5053
10 changes: 6 additions & 4 deletions packages/web-app-files/src/views/SharedWithMe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,18 @@
>
<oc-button
v-if="resource.status === 1 || resource.status === 2"
appearance="raw"
class="file-row-share-status-action oc-text-muted"
appearance="filled"
variation="primary"
size="small"
class="file-row-share-status-action"
@click.stop="triggerShareAction(resource, 'POST')"
>
<translate>Accept</translate>
</oc-button>
<oc-button
v-if="resource.status === 1 || resource.status === 0"
appearance="raw"
class="file-row-share-status-action oc-text-muted oc-ml"
size="small"
class="file-row-share-status-action oc-ml-s"
@click.stop="triggerShareAction(resource, 'DELETE')"
>
<translate>Decline</translate>
Expand Down

0 comments on commit d3ab86d

Please sign in to comment.