transferred Code Ocean from original repository to GitHub
This commit is contained in:
15
app/views/external_users/index.html.slim
Normal file
15
app/views/external_users/index.html.slim
Normal file
@@ -0,0 +1,15 @@
|
||||
h1 = ExternalUser.model_name.human(count: 2)
|
||||
|
||||
.table-responsive
|
||||
table.table
|
||||
thead
|
||||
tr
|
||||
th = t('activerecord.attributes.external_user.name')
|
||||
th = t('activerecord.attributes.external_user.consumer')
|
||||
th = t('shared.actions')
|
||||
tbody
|
||||
- @users.each do |user|
|
||||
tr
|
||||
td = user.name
|
||||
td = link_to(user.consumer, user.consumer)
|
||||
td = link_to(t('shared.show'), user)
|
5
app/views/external_users/show.html.slim
Normal file
5
app/views/external_users/show.html.slim
Normal file
@@ -0,0 +1,5 @@
|
||||
h1 = @user.name
|
||||
|
||||
= row(label: 'external_user.name', value: @user.name)
|
||||
= row(label: 'external_user.email', value: @user.email)
|
||||
= row(label: 'external_user.consumer', value: link_to(@user.consumer, @user.consumer))
|
Reference in New Issue
Block a user