-
Notifications
You must be signed in to change notification settings - Fork 988
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue #10480: Default template : home page : HTML issue
- Loading branch information
LouisGac
committed
Mar 9, 2016
1 parent
efc6c25
commit f18dbca
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
<!-- Survey Description --> | ||
<!-- Survey Description survey.pstpl --> | ||
<div class="row" id="survey-header"> | ||
<div class="col-sm-12 "> | ||
{CHECKJAVASCRIPT} | ||
<h2 id="surveynametitle">{SURVEYNAME}</h2><br /> | ||
<p id="surveydescription">{SURVEYDESCRIPTION}</p> | ||
<p id="surveydescription"> | ||
{SURVEYDESCRIPTION} | ||
</p> | ||
</div> | ||
</div> |
f18dbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use use a lot multiline in description : better if it's a div and not a p.
f18dbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update name="lang" to name="langchanger" break esxisting system.
If you put {LANGUAGECHANGER} inside welcome.pstpl : it don't work.
Any reason to update this ?
f18dbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say double id between the language switch from menu and the one that user can include in surveylist/survey
f18dbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but name !==id .....
here use aleatory string, but can use a static var here (i think , must test if we can use it in views)
f18dbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to change it: feel free to do it.
f18dbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5de3d34
f18dbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes : you see the not(this) ?
You speak for id, i speak for name .....
f18dbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the IRC you said:
In the bug report you asked for:
But whatever: Feel free to change whatever you think is needed.
f18dbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I say in survey.pstpl, noit in startpage.pstpl .....
You can want to show :
Actually only solution 1 work. You say on IRC : it's not a bug because it work with the dfault template ...; OK , LimeSurvey work only with included template .....
User don't have to upadet template a lot, they just be allowed to update some color ....
f18dbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what I say denis is that the language changer is making problem since at least 2014 (when you were already speaking about the nojs issues with language changer). This "component" probably need to be rewritten correctly, so it can handle so many instances as we want in a page, as question or as menu.
Refactoring each part of LimeSurvey that need to be refactored wasn't our goal. Our goal was to write a working bootstrap native template.
So sorry if we didn't make it universal and working for any template solution: that wasn't the goal.
Now, you can change whatever you want in the source code to make it easier for your templates to work on it. So precisely to change those kind of things.
f18dbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partially reverted in b39ad5f .
@maziminke : you delete your comment ? You're tracked ;)
f18dbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shnoulle, yes, I removed my comment because I noticed your fix 3 minutes later.