Skip to content

Commit

Permalink
Migrate sidebar to tabs view and add changelog if available
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliushaertl committed May 24, 2020
1 parent 4d7dfa6 commit 3cfd079
Show file tree
Hide file tree
Showing 5 changed files with 490 additions and 295 deletions.
72 changes: 0 additions & 72 deletions apps/settings/css/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -741,78 +741,6 @@ span.version {
}
}

#app-sidebar #app-details-view {
h2 {
.icon-settings-dark,
svg {
display: inline-block;
width: 16px;
height: 16px;
margin-right: 10px;
opacity: .7;
}
}

.app-level {
clear: right;
width: 100%;

.supported,
.official {
vertical-align: top;
}

.app-score-image {
float: right;
}
}

.app-author, .app-licence {
color: var(--color-text-maxcontrast);
}

.app-dependencies {
margin: 10px 0;
}

.app-description p {
margin: 10px 0;
}

.close {
position: absolute;
top: 0;
right: 0;
padding: 14px;
opacity: 0.5;
z-index: 1;
width: 44px;
height: 44px;
}

.actions {
display: flex;
align-items: center;

.app-groups {
padding: 5px;
}
}

.appslink {
text-decoration: underline;
margin-right: 5px;
}

.app-level,
.actions,
.documentation,
.app-dependencies,
.app-description {
margin: 20px 0;
}
}

@media only screen and (min-width: 1601px) {
.store .section {
width: 25%;
Expand Down
1 change: 1 addition & 0 deletions apps/settings/lib/Controller/AppSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ public function listApps(): JSONResponse {
$appstoreData = $appData['appstoreData'];
$appData['screenshot'] = isset($appstoreData['screenshots'][0]['url']) ? 'https://usercontent.apps.nextcloud.com/' . base64_encode($appstoreData['screenshots'][0]['url']) : '';
$appData['category'] = $appstoreData['categories'];
$appData['releases'] = $appstoreData['releases'];
}

$newVersion = $this->installer->isUpdateAvailable($appData['id']);
Expand Down
Loading

0 comments on commit 3cfd079

Please sign in to comment.