Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Commits
68ea3644
Commit
68ea3644
authored
7 years ago
by
Lukas Mauß
Browse files
Options
Downloads
Patches
Plain Diff
Add goBack button to the participant-room view
parent
372a6d09
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!64
Resolve "participant home screen - room logic"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/participant-room/participant-room.component.html
+1
-0
1 addition, 0 deletions
src/app/participant-room/participant-room.component.html
src/app/participant-room/participant-room.component.ts
+8
-1
8 additions, 1 deletion
src/app/participant-room/participant-room.component.ts
with
9 additions
and
1 deletion
src/app/participant-room/participant-room.component.html
+
1
−
0
View file @
68ea3644
...
@@ -31,4 +31,5 @@
...
@@ -31,4 +31,5 @@
</mat-card-actions>
</mat-card-actions>
</mat-card>
</mat-card>
</div>
</div>
<button
mat-button
color=
"primary"
(click)=
"goBack()"
>
Back
</button>
</div>
</div>
This diff is collapsed.
Click to expand it.
src/app/participant-room/participant-room.component.ts
+
8
−
1
View file @
68ea3644
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
import
{
Room
}
from
'
../room
'
;
import
{
Location
}
from
'
@angular/common
'
;
@
Component
({
@
Component
({
selector
:
'
app-participant-room
'
,
selector
:
'
app-participant-room
'
,
...
@@ -7,6 +9,8 @@ import { Component, OnInit } from '@angular/core';
...
@@ -7,6 +9,8 @@ import { Component, OnInit } from '@angular/core';
})
})
export
class
ParticipantRoomComponent
implements
OnInit
{
export
class
ParticipantRoomComponent
implements
OnInit
{
room
:
Room
;
roomId
=
'
12 34 56 78
'
;
roomId
=
'
12 34 56 78
'
;
roomName
=
'
Test Room
'
;
roomName
=
'
Test Room
'
;
roomDescription
=
'
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore
'
+
roomDescription
=
'
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore
'
+
...
@@ -15,10 +19,13 @@ export class ParticipantRoomComponent implements OnInit {
...
@@ -15,10 +19,13 @@ export class ParticipantRoomComponent implements OnInit {
'
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
'
+
'
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
'
+
'
rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
'
;
'
rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
'
;
constructor
()
{
constructor
(
private
location
:
Location
)
{
}
}
ngOnInit
()
{
ngOnInit
()
{
}
}
goBack
()
{
this
.
location
.
back
();
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment