Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
64566fd6
Commit
64566fd6
authored
Mar 16, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added auto subject for account request
parent
e1ee2aef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
debomatic-webui/public/javascripts/main.js
debomatic-webui/public/javascripts/main.js
+5
-1
debomatic-webui/views/index.ejs
debomatic-webui/views/index.ejs
+1
-1
No files found.
debomatic-webui/public/javascripts/main.js
View file @
64566fd6
...
...
@@ -16,8 +16,12 @@ else if (window.location.pathname == '/') {
// convert email addresses in the right format
var
emails
=
$
(
"
.email
"
)
$
.
each
(
emails
,
function
(){
var
subject
=
''
if
(
$
(
this
).
attr
(
'
subject
'
))
{
subject
=
'
?subject=
'
+
$
(
this
).
attr
(
'
subject
'
)
}
var
real_email
=
$
(
this
).
html
().
replace
(
'
AT
'
,
'
@
'
).
replace
(
'
DOT
'
,
'
.
'
).
replace
(
/ /g
,
''
)
real_email
=
'
<a href="mailto:
'
+
real_email
+
'
">
'
+
real_email
+
'
</a>
'
real_email
=
'
<a href="mailto:
'
+
real_email
+
subject
+
'
">
'
+
real_email
+
'
</a>
'
$
(
this
).
html
(
real_email
)
})
}
\ No newline at end of file
debomatic-webui/views/index.ejs
View file @
64566fd6
...
...
@@ -25,7 +25,7 @@
<h3 class="panel-title">Account Request</h3>
</div>
<div class="panel-body">
<p>For build account requests please mail <span class="email"><%= web.debomatic.admin.email %></span>.</p>
<p>For build account requests please mail <span
subject="Build account request for <%= web.host %>"
class="email"><%= web.debomatic.admin.email %></span>.</p>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment