Skip to content

Commit

Permalink
fix(gitlab): redirect user to repository after clicking on name (#406)
Browse files Browse the repository at this point in the history
Closes #356
  • Loading branch information
Alputer committed May 31, 2024
1 parent d403634 commit 9b0c589
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

The list of contributors in alphabetical order:

- [Alp Tuna](https://orcid.org/0009-0001-1915-3993)
- [Audrius Mecionis](https://orcid.org/0000-0002-3759-1663)
- [Diego Rodriguez](https://orcid.org/0000-0003-0649-2002)
- [Dinos Kousidis](https://orcid.org/0000-0002-4914-4289)
Expand Down
18 changes: 15 additions & 3 deletions reana-ui/src/pages/profile/components/GitLabProjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-*- coding: utf-8 -*-
This file is part of REANA.
Copyright (C) 2020, 2021, 2022 CERN.
Copyright (C) 2020, 2021, 2022, 2024 CERN.
REANA is free software; you can redistribute it and/or modify it
under the terms of the MIT License; see LICENSE file for more details.
Expand Down Expand Up @@ -171,8 +171,20 @@ export default function GitLabProjects() {
verticalAlign="middle"
/>
<List.Content>
<List.Header as="a">{name}</List.Header>
<List.Description as="a" href={url} target="_blank">
<List.Header
as="a"
href={url}
rel="noopener noreferrer"
target="_blank"
>
{name}
</List.Header>
<List.Description
as="a"
href={url}
rel="noopener noreferrer"
target="_blank"
>
{path}
</List.Description>
</List.Content>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-*- coding: utf-8 -*-
This file is part of REANA.
Copyright (C) 2020 CERN.
Copyright (C) 2020, 2024 CERN.
REANA is free software; you can redistribute it and/or modify it
under the terms of the MIT License; see LICENSE file for more details.
Expand All @@ -22,6 +22,12 @@
:global(.ui.list > .item).list-item {
display: flex;
align-items: center;

> :global(.content) {
display: flex !important;
flex-direction: column;
align-items: flex-start;
}
}

.pagination {
Expand Down

0 comments on commit 9b0c589

Please sign in to comment.