Open
Conversation
Fix documentation: GitHub actions instead of TravisCI
aurelijusb
commented
Dec 9, 2019
|
|
||
| public function groupByStudents(array $projects) | ||
| { | ||
| $data1 = file_get_contents('https://hw1.nfq2019.online/students.json'); |
Owner
Author
There was a problem hiding this comment.
Reikėtų stengtis nekartoto to paties kodo. Programavimo nauda ir yra, kad galima tą patį kodo gabalą iškviesti iš kelių vietų.
Plačiau:
aurelijusb
commented
Dec 9, 2019
| {% extends 'base.html.twig' %} | ||
|
|
||
| {% block title %}{{ someVariable }}{% endblock %} | ||
| {% block title %}{% endblock %} |
Owner
Author
There was a problem hiding this comment.
Atidumo: pavyzdyje buvo kitos title
aurelijusb
commented
Dec 9, 2019
| <ul> | ||
| {% for student in team["students"] %} | ||
| <li> | ||
| <a href="{{ path('student', {'student':student}) }}">{{student}}</a> |
Owner
Author
There was a problem hiding this comment.
Čia tikėjausi, kad paduosi name ir project kaip parametrus. Kažką panašaus į:
Suggested change
| <a href="{{ path('student', {'student':student}) }}">{{student}}</a> | |
| <a href="{{ path('student', {'name':student.name, 'project': student.project}) }}">{{student}}</a> |
Kad būtų adresas student?name=Karolis&project=devcollab
aurelijusb
commented
Dec 9, 2019
| </ul> | ||
|
|
||
| <a href="{{ path('student') }}">Student</a> | ||
| <a href="{{ path('home') }}?student={{ '' }}" |
aurelijusb
commented
Dec 9, 2019
| <pre> | ||
| <p> | ||
| Gerb, dėstytojau, | ||
| atsiprašau, kad vėluoju. Parašykite penkis, prašau. |
Open
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kopija nuo: #264