Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
9268e4ac
authored
Feb 11, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix last one
parent
a67bb6a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
one/templates/new-share.html
+3
-1
No files found.
one/templates/new-share.html
View file @
9268e4ac
{% load i18n %}
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% get_current_language as LANGUAGE_CODE %}
<form
action=
"/ajax/share/{{base.id}}"
method=
"post"
id=
"template-wizard"
>
{% csrf_token %}
<form
action=
"/ajax/share/{{base.id}}
/
"
method=
"post"
id=
"template-wizard"
>
{% csrf_token %}
<div
id=
"new-share"
class=
"wizard"
>
<div
id=
"new-share"
class=
"wizard"
>
<h2>
{% blocktrans with t=base.name%}Sharing template: {{t}}{% endblocktrans %}
</h2>
<h2>
{% blocktrans with t=base.name%}Sharing template: {{t}}{% endblocktrans %}
</h2>
{% if not group %}
{% if not group %}
...
@@ -82,6 +82,7 @@
...
@@ -82,6 +82,7 @@
</nav>
</nav>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
$
(
function
(){
$
(
function
(){
{
%
if
not
group
%
}
if
(
!
$
(
"select#share-group-select :selected"
).
val
())
if
(
!
$
(
"select#share-group-select :selected"
).
val
())
$
(
'#new-share input[type=submit]'
).
attr
(
"disabled"
,
""
)
$
(
'#new-share input[type=submit]'
).
attr
(
"disabled"
,
""
)
else
else
...
@@ -92,6 +93,7 @@
...
@@ -92,6 +93,7 @@
else
else
$
(
'#new-share input[type=submit]'
).
removeAttr
(
"disabled"
)
$
(
'#new-share input[type=submit]'
).
removeAttr
(
"disabled"
)
})
})
{
%
endif
%
}
$
(
'#new-share nav .prev'
).
click
(
function
(){
$
(
'#new-share nav .prev'
).
click
(
function
(){
$
(
'#modal'
).
hide
();
$
(
'#modal'
).
hide
();
...
...
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