Merge branch 'master' into 155-zentralanmeldungen
This commit is contained in:
commit
1d1038a308
@ -2,6 +2,15 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||||
|
|
||||||
|
### [5.0.2](https://gitlab.cip.ifi.lmu.de/jost/UniWorX/compare/v5.0.1...v5.0.2) (2019-08-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **course-deregister:** only delete relevant users exam results ([3997857](https://gitlab.cip.ifi.lmu.de/jost/UniWorX/commit/3997857))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### [5.0.1](https://gitlab.cip.ifi.lmu.de/jost/UniWorX/compare/v5.0.0...v5.0.1) (2019-08-12)
|
### [5.0.1](https://gitlab.cip.ifi.lmu.de/jost/UniWorX/compare/v5.0.0...v5.0.1) (2019-08-12)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -141,19 +141,22 @@
|
|||||||
course teaser: header styling
|
course teaser: header styling
|
||||||
*/
|
*/
|
||||||
.course-teaser-header {
|
.course-teaser-header {
|
||||||
padding-top: 20px;
|
padding-top: 10px;
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
|
line-height: 1.4;
|
||||||
|
max-width: 85vw;
|
||||||
|
|
||||||
.course-header {
|
.course-header {
|
||||||
|
float: left;
|
||||||
background-color: var(--color-dark);
|
background-color: var(--color-dark);
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
line-height: 1.4;
|
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 35px;
|
padding-right: 35px;
|
||||||
|
margin-bottom: 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
border-radius: 20px 20px 20px 20px / 50% 50% 50% 50%;
|
border-radius: 20px 20px 20px 20px / 50% 50% 50% 50%;
|
||||||
@ -170,3 +173,9 @@ course teaser: header styling
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.course-teaser-header:after {
|
||||||
|
content: "";
|
||||||
|
display: table;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "uni2work",
|
"name": "uni2work",
|
||||||
"version": "5.0.1",
|
"version": "5.0.2",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "uni2work",
|
"name": "uni2work",
|
||||||
"version": "5.0.1",
|
"version": "5.0.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
name: uniworx
|
name: uniworx
|
||||||
version: 5.0.1
|
version: 5.0.2
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
# Due to a bug in GHC 8.0.1, we block its usage
|
# Due to a bug in GHC 8.0.1, we block its usage
|
||||||
|
|||||||
@ -230,6 +230,7 @@ postCRegisterR tid ssh csh = do
|
|||||||
examRegistrations <- E.select . E.from $ \(examRegistration `E.InnerJoin` exam) -> do
|
examRegistrations <- E.select . E.from $ \(examRegistration `E.InnerJoin` exam) -> do
|
||||||
E.on $ examRegistration E.^. ExamRegistrationExam E.==. exam E.^. ExamId
|
E.on $ examRegistration E.^. ExamRegistrationExam E.==. exam E.^. ExamId
|
||||||
E.where_ $ exam E.^. ExamCourse E.==. E.val cid
|
E.where_ $ exam E.^. ExamCourse E.==. E.val cid
|
||||||
|
E.&&. examRegistration E.^. ExamRegistrationUser E.==. E.val uid
|
||||||
return examRegistration
|
return examRegistration
|
||||||
forM_ examRegistrations $ \(Entity erId ExamRegistration{..}) -> do
|
forM_ examRegistrations $ \(Entity erId ExamRegistration{..}) -> do
|
||||||
delete erId
|
delete erId
|
||||||
@ -238,6 +239,7 @@ postCRegisterR tid ssh csh = do
|
|||||||
examResults <- E.select . E.from $ \(examResult `E.InnerJoin` exam) -> do
|
examResults <- E.select . E.from $ \(examResult `E.InnerJoin` exam) -> do
|
||||||
E.on $ examResult E.^. ExamResultExam E.==. exam E.^. ExamId
|
E.on $ examResult E.^. ExamResultExam E.==. exam E.^. ExamId
|
||||||
E.where_ $ exam E.^. ExamCourse E.==. E.val cid
|
E.where_ $ exam E.^. ExamCourse E.==. E.val cid
|
||||||
|
E.&&. examResult E.^. ExamResultUser E.==. E.val uid
|
||||||
return examResult
|
return examResult
|
||||||
forM_ examResults $ \(Entity erId ExamResult{..}) -> do
|
forM_ examResults $ \(Entity erId ExamResult{..}) -> do
|
||||||
delete erId
|
delete erId
|
||||||
|
|||||||
@ -11,11 +11,11 @@ packages:
|
|||||||
- .
|
- .
|
||||||
|
|
||||||
extra-deps:
|
extra-deps:
|
||||||
- git: https://github.com/pngwjpgh/zip-stream.git
|
- git: https://github.com/uni2work/zip-stream.git
|
||||||
commit: 9272bbed000928d500febad1cdc98d1da29d399e
|
commit: 9272bbed000928d500febad1cdc98d1da29d399e
|
||||||
- git: https://github.com/pngwjpgh/encoding.git
|
- git: https://github.com/uni2work/encoding.git
|
||||||
commit: 67bb87ceff53f0178c988dd4e15eeb2daee92b84
|
commit: 67bb87ceff53f0178c988dd4e15eeb2daee92b84
|
||||||
- git: https://github.com/pngwjpgh/memcached-binary.git
|
- git: https://github.com/uni2work/memcached-binary.git
|
||||||
commit: b5461747e7be226d3b67daebc3c9aefe8a4490ad
|
commit: b5461747e7be226d3b67daebc3c9aefe8a4490ad
|
||||||
|
|
||||||
- colonnade-1.2.0
|
- colonnade-1.2.0
|
||||||
|
|||||||
Reference in New Issue
Block a user