diff --git a/group/templates/group_details.mustache b/group/templates/group_details.mustache
index d05e1d2377553..bd6408ff469ff 100644
--- a/group/templates/group_details.mustache
+++ b/group/templates/group_details.mustache
@@ -40,26 +40,14 @@
}
}}
{{#name}}
-
-
- {{#pictureurl}}
-
{{{pictureurl}}}
- {{/pictureurl}}
-
-
+
+ {{#pictureurl}}
+
+ {{/pictureurl}}
+ {{#editurl}}
+
+ {{/editurl}}
+
{{{name}}}
+
{{{description}}}
{{/name}}
diff --git a/theme/boost/scss/moodle/user.scss b/theme/boost/scss/moodle/user.scss
index 3561900bcfba2..c4674a8c9d708 100644
--- a/theme/boost/scss/moodle/user.scss
+++ b/theme/boost/scss/moodle/user.scss
@@ -200,8 +200,20 @@
font-weight: bold;
}
+.group-edit {
+ position: absolute;
+ right: 0;
+ margin-right: 0.6em;
+}
+
.group-image {
- min-width: 93px;
+ display: block;
+ float: left;
+ margin-right: 1em;
+
+ .grouppicture {
+ border-radius: 50%;
+ }
}
.groupinfobox {
diff --git a/theme/bootstrapbase/less/moodle/user.less b/theme/bootstrapbase/less/moodle/user.less
index 4e7ee1fe8f0fc..2df2277b1b600 100644
--- a/theme/bootstrapbase/less/moodle/user.less
+++ b/theme/bootstrapbase/less/moodle/user.less
@@ -195,8 +195,14 @@
font-weight: bold;
}
.groupinfobox {
- .well
+ .well;
+ position: relative;
+
+ h3 {
+ margin-top: 0px;
+ }
}
+
.groupinfobox .left {
padding: 10px;
width: 100px;
@@ -204,7 +210,15 @@
}
.group-image {
- min-width: 60px;
+ display: block;
+ float: left;
+ margin-right: 1em;
+}
+
+.group-edit {
+ position: absolute;
+ right: 0;
+ margin-right: 0.6em;
}
.course-participation #showall {
diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css
index dc577b35c7831..cee6fe338355a 100644
--- a/theme/bootstrapbase/style/moodle.css
+++ b/theme/bootstrapbase/style/moodle.css
@@ -9885,18 +9885,29 @@ body.path-question-type .mform fieldset.hidden {
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
border-color: #e3e3e3;
+ position: relative;
}
.groupinfobox blockquote {
border-color: #ddd;
border-color: rgba(0, 0, 0, 0.15);
}
+.groupinfobox h3 {
+ margin-top: 0px;
+}
.groupinfobox .left {
padding: 10px;
width: 100px;
vertical-align: top;
}
.group-image {
- min-width: 60px;
+ display: block;
+ float: left;
+ margin-right: 1em;
+}
+.group-edit {
+ position: absolute;
+ right: 0;
+ margin-right: 0.6em;
}
.course-participation #showall {
text-align: center;